Skip to content

Commit c8901be

Browse files
authored
ci: make tests less parallel (#168)
1 parent 616b94a commit c8901be

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test-e2e.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ env:
1212
NEXT_REPO: vercel/next.js
1313
NEXT_TEST_MODE: deploy
1414
NEXT_JUNIT_TEST_REPORT: true
15-
TEST_CONCURRENCY: 8
16-
NEXT_E2E_TEST_TIMEOUT: 600000
15+
TEST_CONCURRENCY: 2
16+
NEXT_E2E_TEST_TIMEOUT: 300000
1717
NEXT_TELEMETRY_DISABLED: 1
1818
NEXT_SKIP_NATIVE_POSTINSTALL: 1
1919
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
@@ -28,14 +28,13 @@ jobs:
2828
if:
2929
${{ github.event_name == ('workflow_dispatch' || 'workflow_call') ||
3030
contains(github.event.pull_request.labels.*.name, 'run-e2e-tests') }}
31-
name: Test group ${{ matrix.group }}/24
31+
name: Test group ${{ matrix.group }}/12
3232
runs-on: ubuntu-latest
3333
timeout-minutes: 120
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
group:
38-
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
37+
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
3938

4039
steps:
4140
- name: Get Latest Next.js Release
@@ -132,7 +131,7 @@ jobs:
132131
env:
133132
NODE_ENV: production
134133
NEXT_EXTERNAL_TESTS_FILTERS: ../next-runtime-minimal/tests/netlify-e2e.json
135-
run: node run-tests.js -g ${{ matrix.group }}/24 -c ${TEST_CONCURRENCY} --type e2e
134+
run: node run-tests.js -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type e2e
136135
working-directory: ${{ env.next-path }}
137136

138137
- name: Upload Test Results

0 commit comments

Comments
 (0)