Restore --runInBand for test stability in merged CI job

Phase tests share a single MongoMemoryServer database and conflict
when run in parallel. Sequential execution is needed until tests
use isolated databases per file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 10:11:34 -07:00
parent 3509da8185
commit d818296eeb

View File

@ -54,7 +54,7 @@ jobs:
continue-on-error: true continue-on-error: true
run: | run: |
set +e set +e
OUTPUT=$(npm test 2>&1) OUTPUT=$(npm test -- --runInBand 2>&1)
EXIT_CODE=$? EXIT_CODE=$?
echo "test_output<<EOF" >> $GITHUB_OUTPUT echo "test_output<<EOF" >> $GITHUB_OUTPUT
echo "$OUTPUT" >> $GITHUB_OUTPUT echo "$OUTPUT" >> $GITHUB_OUTPUT