Cron CI #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cron CI | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 8 * * 1,5' | |
jobs: | |
# == TEST (No UI) == # | |
test-no-ui: | |
name: (Check & Build &) Test (No UI) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
rust-toolchains: | |
- beta | |
- nightly | |
steps: | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: default | |
override: true | |
toolchain: ${{ matrix.rust-toolchains }} | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
- name: Cargo +nightly test (no UI) | |
if: matrix.rust-toolchains == 'nightly' | |
uses: actions-rs/cargo@v1 | |
env: | |
CI_SKIP_UI_TESTS: "1" | |
with: | |
command: test | |
args: --features nightly | |
- name: Cargo test (no UI) | |
if: matrix.rust-toolchains != 'nightly' | |
uses: actions-rs/cargo@v1 | |
env: | |
CI_SKIP_UI_TESTS: "1" | |
with: | |
command: test |