Skip ui tests on macOS builder too

This commit is contained in:
David Tolnay 2020-11-01 00:25:10 -07:00
parent 299731330c
commit f6fa7b1a22
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -35,12 +35,13 @@ jobs:
with:
toolchain: ${{matrix.rust}}
- name: Determine test suite subset
# Our Windows jobs are the longest running, so exclude the relatively
# slow compiletest from them to speed up end-to-end CI time, except
# during cron builds when no human is presumably waiting on the build.
# The extra coverage is not particularly valuable and we can still
# ensure the test is kept passing on the basis of the scheduled builds.
if: matrix.os == 'windows' && github.event_name != 'schedule'
# Our Windows and macOS jobs are the longest running, so exclude the
# relatively slow compiletest from them to speed up end-to-end CI time,
# except during cron builds when no human is presumably waiting on the
# build. The extra coverage is not particularly valuable and we can
# still ensure the test is kept passing on the basis of the scheduled
# builds.
if: matrix.os && github.event_name != 'schedule'
run: echo '::set-env name=RUSTFLAGS::--cfg skip_ui_tests'
- run: cargo run --manifest-path demo/Cargo.toml
- run: cargo test --workspace --exclude cxx-test-suite