Skip to content

Commit cc6031b

Browse files
committed
fix(ci): slow down the bitmex tests
1 parent 2ad41b1 commit cc6031b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ jobs:
3333
- uses: actions-rs/cargo@v1
3434
with:
3535
command: build
36-
- uses: actions-rs/cargo@v1
37-
with:
38-
command: nextest
39-
args: run -j1
36+
- name: Run cargo nextest
37+
run: |
38+
# Run all tests except '*bitmex*' binaries, as
39+
# bitmex limited the request rate.
40+
cargo nextest run -E 'all() - binary(~bitmex)'
41+
42+
# Run the '*bitmex*' tests in -j1.
43+
cargo nextest run -E 'binary(~bitmex)' -j1
4044
4145
doc-test:
4246
name: Cargo doctest

0 commit comments

Comments
 (0)