Skip to content

Commit

Permalink
Move '--test-threads 1' to a config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Sep 30, 2023
1 parent 277aa1d commit 3210a71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[env]
RUST_TEST_THREADS = "1"

[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Development
Rust 1.38.0 or newer is recommended.
Use the latest version of Rust.

* Run tests (avoid concurrency since the integration tests make real services):
* `cargo test -- --test-threads 1`
* Run tests:
* `cargo test`
* Activate pre-commit hooks (requires Python) to handle formatting/linting:
```
pip install --user pre-commit
Expand Down

0 comments on commit 3210a71

Please sign in to comment.