diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1631243..aa907928 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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