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 5050 - uses : actions/checkout@v4
5151 - name : Install Rust
5252 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
6453 - name : Build and run tests
6554 run : cargo test --locked --target ${{ matrix.target }}
6655 - name : Test no default
8473 run : rustup update stable && rustup default stable && rustup component add rustfmt
8574 - run : cargo fmt --check
8675
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+
8792 # The success job is here to consolidate the total success/failure state of
8893 # all other jobs. This job is then included in the GitHub branch protection
8994 # 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() {
8383
8484 // Then we run the GUI tests on it.
8585 let status = command. status ( ) . expect ( "failed to get command output" ) ;
86- assert ! ( status. success( ) ) ;
86+ assert ! ( status. success( ) , "{status:?}" ) ;
8787}
You can’t perform that action at this time.
0 commit comments