File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 34
34
- uses : dtolnay/rust-toolchain@master
35
35
with :
36
36
toolchain : ${{matrix.rust}}
37
+ - name : Determine test suite subset
38
+ # Our Windows jobs are the longest running, so exclude the relatively
39
+ # slow compiletest from them to speed up end-to-end CI time, except
40
+ # during cron builds when no human is presumably waiting on the build.
41
+ # The extra coverage is not particularly valuable and we can still
42
+ # ensure the test is kept passing on the basis of the scheduled builds.
43
+ if : matrix.os == 'windows' && github.event_name != 'schedule'
44
+ run : echo '::set-env name=RUSTFLAGS::--cfg skip_ui_tests'
37
45
- run : cargo run --manifest-path demo/Cargo.toml
38
46
- run : cargo test --workspace --exclude cxx-test-suite
39
47
Original file line number Diff line number Diff line change 1
1
#[ rustversion:: attr( not( nightly) , ignore) ]
2
+ #[ cfg_attr( skip_ui_tests, ignore) ]
2
3
#[ test]
3
4
fn ui ( ) {
4
5
let t = trybuild:: TestCases :: new ( ) ;
You can’t perform that action at this time.
0 commit comments