Skip to content

Commit

Permalink
fix(ci): slow down the bitmex tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Jul 18, 2022
1 parent 2ad41b1 commit cc6031b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: build
- uses: actions-rs/cargo@v1
with:
command: nextest
args: run -j1
- name: Run cargo nextest
run: |
# Run all tests except '*bitmex*' binaries, as
# bitmex limited the request rate.
cargo nextest run -E 'all() - binary(~bitmex)'
# Run the '*bitmex*' tests in -j1.
cargo nextest run -E 'binary(~bitmex)' -j1
doc-test:
name: Cargo doctest
Expand Down

0 comments on commit cc6031b

Please sign in to comment.