Skip to content

Commit 199b886

Browse files
authored
ci: next repo test timing adjustments (#2915)
* ci: use more groups when testing next repo tests * ci: lower test timeout to reduce chances of hitting overall 2hr timeout
1 parent 267d0a0 commit 199b886

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test-e2e.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
DATADOG_TRACE_NEXTJS_TEST: true
2929
DATADOG_API_KEY: foo
3030
TEST_CONCURRENCY: 2
31-
NEXT_E2E_TEST_TIMEOUT: 600000
31+
NEXT_E2E_TEST_TIMEOUT: 300000
3232
NEXT_TELEMETRY_DISABLED: 1
3333
NEXT_SKIP_NATIVE_POSTINSTALL: 1
3434
TURBO_API: ${{ secrets.TURBO_API }}
@@ -56,16 +56,16 @@ jobs:
5656
run: |
5757
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
5858
VERSION_SELECTORS=[${{ github.event.inputs.versions }}]
59-
echo "group=[1, 2, 3, 4, 5, 6]" >> $GITHUB_OUTPUT
60-
echo "total=6" >> $GITHUB_OUTPUT
59+
echo "group=[1, 2, 3, 4, 5, 6, 7, 8]" >> $GITHUB_OUTPUT
60+
echo "total=8" >> $GITHUB_OUTPUT
6161
elif [ "${{ github.event_name }}" == "pull_request" ]; then
6262
VERSION_SELECTORS=[\"latest\"]
63-
echo "group=[1, 2, 3, 4, 5, 6]" >> $GITHUB_OUTPUT
64-
echo "total=6" >> $GITHUB_OUTPUT
63+
echo "group=[1, 2, 3, 4, 5, 6, 7, 8]" >> $GITHUB_OUTPUT
64+
echo "total=8" >> $GITHUB_OUTPUT
6565
else
6666
VERSION_SELECTORS=[\"latest\",\"canary\"]
67-
echo "group=[1, 2, 3, 4, 5, 6]" >> $GITHUB_OUTPUT
68-
echo "total=6" >> $GITHUB_OUTPUT
67+
echo "group=[1, 2, 3, 4, 5, 6, 7, 8]" >> $GITHUB_OUTPUT
68+
echo "total=8" >> $GITHUB_OUTPUT
6969
fi
7070
7171
VERSION_SPEC="["

0 commit comments

Comments
 (0)