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:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user