From 6b7007c120e878da86d62abd8db959217c65d3f1 Mon Sep 17 00:00:00 2001 From: Mateusz Bocian Date: Tue, 31 Dec 2024 18:15:09 -0500 Subject: [PATCH] test: remove retries from test runs --- .github/workflows/workflow.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f9dee579f8..9e37431266 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -109,13 +109,8 @@ jobs: run: npx nx affected --target=build if: ${{ !steps.release-check.outputs.IS_RELEASE }} - name: Tests - uses: nick-fields/retry@v3 + run: npx nx affected --target=test:ci --exclude=@netlify/build if: ${{ !steps.release-check.outputs.IS_RELEASE }} - with: - timeout_minutes: 30 - max_attempts: 3 - retry_on: error - command: npx nx affected --target=test:ci --exclude=@netlify/build --parallel=3 test-build: runs-on: ${{ matrix.os }} @@ -193,17 +188,12 @@ jobs: run: npm run build if: ${{ !steps.release-check.outputs.IS_RELEASE }} - name: Tests - uses: nick-fields/retry@v3 + run: npx lerna run test:ci --scope @netlify/build if: ${{ !steps.release-check.outputs.IS_RELEASE }} env: # split tests across multiple machines CI_NODE_INDEX: ${{ matrix.machine }} CI_NODE_TOTAL: 5 - with: - timeout_minutes: 30 - max_attempts: 3 - retry_on: error - command: npx lerna run test:ci --scope @netlify/build - name: Get test coverage flags id: test-coverage-flags if: ${{ !steps.release-check.outputs.IS_RELEASE }}