1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 06:45:32 +00:00

fix: Run tests single-threaded to avoid env var race conditions

- Update pre-commit hooks to use --test-threads=1
- Update CI workflow to run tests single-threaded
- This prevents test failures due to concurrent environment variable modifications

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-06-08 11:59:26 -04:00
parent 739a80fe1e
commit c5b7bc1236
Failed to extract signature
2 changed files with 4 additions and 4 deletions

View file

@ -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