tweak deploy test concurrency & fail condition (#66779)
[x-ref](https://github.com/vercel/next.js/actions/runs/9475354204/job/26106589121)
This commit is contained in:
parent
0cce20d50a
commit
eb6575adb9
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
group: [1/6, 2/6, 3/6, 4/6, 5/6, 6/6]
|
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||||
with:
|
with:
|
||||||
afterBuild: NEXT_TEST_MODE=deploy NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json" node run-tests.js --timings -g ${{ matrix.group }} -c 2 --type e2e
|
afterBuild: NEXT_TEST_MODE=deploy NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json" node run-tests.js --timings -g ${{ matrix.group }} -c 2 --type e2e
|
||||||
skipNativeBuild: 'yes'
|
skipNativeBuild: 'yes'
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
report-failure:
|
report-failure:
|
||||||
name: report failure to slack
|
name: report failure to slack
|
||||||
needs: test-deploy
|
needs: test-deploy
|
||||||
if: ${{ always() && contains(needs.*.result, 'failure') }}
|
if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: send webhook
|
- name: send webhook
|
||||||
|
|
Loading…
Reference in a new issue