File tree 1 file changed +16
-11
lines changed
1 file changed +16
-11
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
+ - name : Install npm
81
+ uses : actions/setup-node@v3
82
+ with :
83
+ node-version : 20
84
+ - name : Install browser-ui-test
85
+ run : npm install browser-ui-test@"${BROWSER_UI_TEST_VERSION}"
86
+ - uses : actions/checkout@v4
87
+ - name : Install Rust
88
+ run : bash ci/install-rust.sh ${{ matrix.rust }} ${{ matrix.target }}
89
+ - name : Build and run tests (+ GUI)
90
+ run : cargo test --locked --target ${{ matrix.target }} --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
You can’t perform that action at this time.
0 commit comments