Skip to content

Commit

Permalink
Change CI tests to run sequentially
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitalturtle committed Jun 22, 2023
1 parent 3b5f4a5 commit a792209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: cargo test
with:
command: test
args: --all-targets --benches
args: --all-targets --benches -- --test-threads=1
- uses: actions-rs/cargo@v1
name: cargo fmt
with:
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ cargo clippy
2. Error String: Lower case, no `.` terminating.
3. Display imps: Lower case, no `.` terminating.

### Integration tests

Note that the way the integration tests run now, it's best to run them sequentially rather than concurrently (which is Rust's default). You can run them sequentially with this command:

`cargo test -- --test-threads=1`

0 comments on commit a792209

Please sign in to comment.