Skip to content

Commit

Permalink
Merge pull request #374 from ZIMkaRU/feature/add-several-retries-for-…
Browse files Browse the repository at this point in the history
…the-test-run-before-it-fails

Add several retries for the test run before it fails
  • Loading branch information
ezewer authored May 8, 2024
2 parents 1b76e14 + b9c4958 commit 173d101
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ jobs:
- name: Setup configs and install deps
run: ./scripts/setup.sh -u
- name: Run tests
run: npm test -- -- --reporter=json --reporter-option output=test-report.json
uses: nick-fields/retry@v3
continue-on-error: false
with:
timeout_minutes: 20
retry_wait_seconds: 10
max_attempts: 3
retry_on: any
command: npm test -- -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
Expand Down

0 comments on commit 173d101

Please sign in to comment.