@@ -13,6 +13,41 @@ permissions:
13
13
contents : read
14
14
15
15
jobs :
16
+ success :
17
+ permissions :
18
+ contents : none
19
+ name : bors build finished
20
+ needs :
21
+ - build_std
22
+ - clippy
23
+ - docs
24
+ - lockfile
25
+ - resolver
26
+ - rustfmt
27
+ - test
28
+ - test_gitoxide
29
+ runs-on : ubuntu-latest
30
+ if : " success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
31
+ steps :
32
+ - run : echo ok
33
+ failure :
34
+ permissions :
35
+ contents : none
36
+ name : bors build finished
37
+ needs :
38
+ - build_std
39
+ - clippy
40
+ - docs
41
+ - lockfile
42
+ - resolver
43
+ - rustfmt
44
+ - test
45
+ - test_gitoxide
46
+ runs-on : ubuntu-latest
47
+ if : " !success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
48
+ steps :
49
+ - run : exit 1
50
+
16
51
# Check Code style quickly by running `rustfmt` over all code
17
52
rustfmt :
18
53
runs-on : ubuntu-latest
@@ -119,6 +154,7 @@ jobs:
119
154
- run : cargo test -p cargo
120
155
- name : Clear intermediate test output
121
156
run : ci/clean-test-output.sh
157
+
122
158
- name : gitoxide tests (all git-related tests)
123
159
run : cargo test -p cargo git
124
160
env :
@@ -127,22 +163,14 @@ jobs:
127
163
# running out of disk space.
128
164
- name : Clear test output
129
165
run : ci/clean-test-output.sh
166
+
130
167
# This only tests `cargo fix` because fix-proxy-mode is one of the most
131
168
# complicated subprocess management in Cargo.
132
169
- name : Check operability of rustc invocation with argfile
133
170
run : ' cargo test -p cargo --test testsuite -- fix::'
134
171
env :
135
172
__CARGO_TEST_FORCE_ARGFILE : 1
136
- - run : cargo test -p cargo-test-support
137
- - run : cargo test -p cargo-platform
138
- - run : cargo test -p cargo-util
139
- - run : cargo test -p home
140
- - run : cargo test -p mdman
141
- - run : cargo build -p cargo-credential-1password
142
- - run : cargo build -p cargo-credential-macos-keychain
143
- - run : cargo build -p cargo-credential-wincred
144
- - run : cargo build -p cargo-credential-gnome-secret
145
- if : matrix.os == 'ubuntu-latest'
173
+ - run : cargo test --workspace --exclude cargo --exclude benchsuite
146
174
- name : Check benchmarks
147
175
run : |
148
176
# This only tests one benchmark since it can take over 10 minutes to
@@ -153,6 +181,7 @@ jobs:
153
181
# running out of disk space.
154
182
- name : Clear benchmark output
155
183
run : ci/clean-test-output.sh
184
+
156
185
- name : Fetch smoke test
157
186
run : ci/fetch-smoke-test.sh
158
187
@@ -211,38 +240,3 @@ jobs:
211
240
cd target
212
241
curl -sSLO https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
213
242
sh linkcheck.sh --all --path ../src/doc cargo
214
-
215
- success :
216
- permissions :
217
- contents : none
218
- name : bors build finished
219
- needs :
220
- - build_std
221
- - clippy
222
- - docs
223
- - lockfile
224
- - resolver
225
- - rustfmt
226
- - test
227
- - test_gitoxide
228
- runs-on : ubuntu-latest
229
- if : " success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
230
- steps :
231
- - run : echo ok
232
- failure :
233
- permissions :
234
- contents : none
235
- name : bors build finished
236
- needs :
237
- - build_std
238
- - clippy
239
- - docs
240
- - lockfile
241
- - resolver
242
- - rustfmt
243
- - test
244
- - test_gitoxide
245
- runs-on : ubuntu-latest
246
- if : " !success() && github.event_name == 'push' && github.ref == 'refs/heads/auto-cargo'"
247
- steps :
248
- - run : exit 1
0 commit comments