Skip to content

Cron CI

Cron CI #128

Workflow file for this run

name: Cron CI
on:
schedule:
- cron: '0 8 * * 1,5'
jobs:
# == TEST (NO UI) == #
test-no-ui:
name: 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
id: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-toolchains }}
- name: Override toolchain
run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Clone repo
uses: actions/checkout@v4
- name: Cargo +nightly test (no UI)
if: matrix.rust-toolchains == 'nightly'
env:
CI_SKIP_UI_TESTS: "1"
run: cargo test --verbose --features nightly
- name: Cargo test (no UI)
if: matrix.rust-toolchains != 'nightly'
env:
CI_SKIP_UI_TESTS: "1"
run: cargo test --verbose