Skip to content

Commit

Permalink
test: remove retries from test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstork committed Dec 31, 2024
1 parent 543ecc5 commit 6b7007c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 6b7007c

Please sign in to comment.