Skip to content

Commit 4964327

Browse files
committed
Try limiting maxWorkers for CI
1 parent 9b8910d commit 4964327

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
run: npm ci
4242
- name: Run ${{ matrix.test }} Tests and Add Annotations
4343
id: tests
44-
run: npm run test:${{ matrix.test }} -- --ci --coverage --reporters=default --reporters=github-actions --reporters=jest-junit
44+
run: npm run test:${{ matrix.test }} -- --ci --coverage --reporters=default --reporters=github-actions --reporters=jest-junit ${{ (matrix.test == 'integration:v4' || matrix.test == 'integration:v5') && '--maxWorkers=4' || '' }}
4545
env:
46+
ORKES_BACKEND_VERSION: ${{ matrix.test == 'integration:v4' && '4' || (matrix.test == 'integration:v5' && '5' || '') }}
4647
CONDUCTOR_SERVER_URL: ${{ matrix.test == 'integration:v4' && vars.SERVER_URL_V4 || vars.SERVER_URL }}
4748
CONDUCTOR_AUTH_KEY: ${{ matrix.test == 'integration:v4' && secrets.AUTH_KEY_V4 || secrets.AUTH_KEY }}
4849
CONDUCTOR_AUTH_SECRET: ${{ matrix.test == 'integration:v4' && secrets.AUTH_SECRET_V4 || secrets.AUTH_SECRET }}
@@ -63,4 +64,3 @@ jobs:
6364
flags: ${{ matrix.test }}
6465
name: codecov-${{ matrix.test }}-node-${{ matrix.node-version }}
6566
fail_ci_if_error: false
66-

0 commit comments

Comments
 (0)