diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a475192..d406b4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,9 +73,9 @@ jobs: - name: Build run: cargo build --verbose - name: Run unit tests - run: cargo test --verbose + run: cargo test --verbose -- --test-threads=1 - name: Run e2e tests - run: cargo test --test '*' --verbose + run: cargo test --test '*' --verbose -- --test-threads=1 fmt: name: Rustfmt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dfc5b7b..e6dff23 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,14 +25,14 @@ repos: - id: cargo-test name: cargo test - entry: cargo test + entry: cargo test -- --test-threads=1 language: system types: [rust] pass_filenames: false - id: cargo-test-e2e name: cargo e2e tests - entry: cargo test --test '*' + entry: cargo test --test '*' -- --test-threads=1 language: system types: [rust] pass_filenames: false