feat(dev): don't stop remainder of tests in ci when only one test fails
This commit is contained in:
parent
9b08f28513
commit
537f5aebc4
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue