From eb6575adb9c544e147ad5b4a755475e97d83f7e3 Mon Sep 17 00:00:00 2001 From: Zack Tanner <1939140+ztanner@users.noreply.github.com> Date: Tue, 11 Jun 2024 19:38:32 -0700 Subject: [PATCH] tweak deploy test concurrency & fail condition (#66779) [x-ref](https://github.com/vercel/next.js/actions/runs/9475354204/job/26106589121) --- .github/workflows/test_e2e_deploy_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_e2e_deploy_release.yml b/.github/workflows/test_e2e_deploy_release.yml index 3afb6cb71e5bb9..8cb8aa5c546cf1 100644 --- a/.github/workflows/test_e2e_deploy_release.yml +++ b/.github/workflows/test_e2e_deploy_release.yml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: true 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: 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' @@ -79,7 +79,7 @@ jobs: report-failure: name: report failure to slack needs: test-deploy - if: ${{ always() && contains(needs.*.result, 'failure') }} + if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }} runs-on: ubuntu-latest steps: - name: send webhook