File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 50
50
- uses : actions/checkout@v4
51
51
- name : Install Rust
52
52
run : bash ci/install-rust.sh ${{ matrix.rust }} ${{ matrix.target }}
53
- - name : Install npm
54
- if : matrix.os != 'windows-latest'
55
- uses : actions/setup-node@v3
56
- with :
57
- node-version : 20
58
- - name : Install browser-ui-test
59
- if : matrix.os != 'windows-latest'
60
- run : npm install browser-ui-test@"${BROWSER_UI_TEST_VERSION}"
61
- - name : Build and run tests (+ GUI)
62
- if : matrix.os != 'windows-latest'
63
- run : cargo test --locked --target ${{ matrix.target }} --test gui
64
53
- name : Build and run tests
65
54
run : cargo test --locked --target ${{ matrix.target }}
66
55
- name : Test no default
84
73
run : rustup update stable && rustup default stable && rustup component add rustfmt
85
74
- run : cargo fmt --check
86
75
76
+ gui :
77
+ name : GUI tests
78
+ runs-on : ubuntu-latest
79
+ steps :
80
+ - uses : actions/checkout@v4
81
+ - name : Install Rust
82
+ run : bash ci/install-rust.sh stable x86_64-unknown-linux-gnu
83
+ - name : Install npm
84
+ uses : actions/setup-node@v3
85
+ with :
86
+ node-version : 20
87
+ - name : Install browser-ui-test
88
+ run : npm install browser-ui-test@"${BROWSER_UI_TEST_VERSION}"
89
+ - name : Build and run tests (+ GUI)
90
+ run : cargo test --locked --target x86_64-unknown-linux-gnu --test gui
91
+
87
92
# The success job is here to consolidate the total success/failure state of
88
93
# all other jobs. This job is then included in the GitHub branch protection
89
94
# rule which prevents merges unless all other jobs are passing. This makes
Original file line number Diff line number Diff line change @@ -83,5 +83,5 @@ fn main() {
83
83
84
84
// Then we run the GUI tests on it.
85
85
let status = command. status ( ) . expect ( "failed to get command output" ) ;
86
- assert ! ( status. success( ) ) ;
86
+ assert ! ( status. success( ) , "{status:?}" ) ;
87
87
}
You can’t perform that action at this time.
0 commit comments