feat(dev): don't stop remainder of tests in ci when only one test fails

This commit is contained in:
perf3ct 2025-07-17 18:48:30 +00:00
parent 9b08f28513
commit 537f5aebc4
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
2 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@ jobs:
echo "Running tests with DATABASE_URL: $DATABASE_URL"
echo "Environment check:"
env | grep -E "(DATABASE_URL|JWT_SECRET|API_URL)" | sort
cargo test --test '*' --features test-utils -- --test-threads=1
cargo test --test '*' --features test-utils --no-fail-fast -- --test-threads=1
env:
DATABASE_URL: ${{ env.DATABASE_URL }}
TEST_DATABASE_URL: ${{ env.DATABASE_URL }}

View File

@ -60,8 +60,8 @@ jobs:
- name: Run Rust unit tests
run: |
cargo test --lib
cargo test --tests unit_tests
cargo test --lib --no-fail-fast
cargo test --tests unit_tests --no-fail-fast
env:
RUST_BACKTRACE: 1