Skip to content

Commit 192ebae

Browse files
committed
Run article-api tests serially in public repo
1 parent 1db9c73 commit 192ebae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,9 @@ jobs:
166166
# Enable debug logging when "Re-run jobs with debug logging" is used in GitHub Actions UI
167167
# This will output additional timing and path information to help diagnose timeout issues
168168
RUNNER_DEBUG: ${{ runner.debug }}
169-
run: npm test -- src/${{ matrix.name }}/tests/
169+
run: |
170+
if [ "${{ matrix.name }}" = "article-api" ] && [ "${{ github.repository }}" = "github/docs" ]; then
171+
npm test -- --no-file-parallelism --maxWorkers=1 src/${{ matrix.name }}/tests/
172+
else
173+
npm test -- src/${{ matrix.name }}/tests/
174+
fi

0 commit comments

Comments
 (0)