Skip to content

Commit

Permalink
chore: add auto retries for test GH action job
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Dec 20, 2024
1 parent cfd7f46 commit 5b1627f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ jobs:
- run: yarn clean
- name: Install playwright browsers
run: npx playwright install --with-deps
# run yarn and pass through `-- --all` to turborepo
- run: yarn test -- -- --all
# Retry the test command up to 3 times with a timeout of 10 minutes
- uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
# run yarn and pass through `-- --all` to turborepo
command: yarn test -- -- --all
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
with:
Expand Down

0 comments on commit 5b1627f

Please sign in to comment.