Skip to content

Commit

Permalink
CI: Add automatic retries to codecov upload action (#91857)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Apr 22, 2023
1 parent 228233a commit 20a42c6
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,12 +1102,20 @@ jobs:
uses: actions/download-artifact@v3
- name: Upload coverage to Codecov (full coverage)
if: needs.info.outputs.test_full_suite == 'true'
uses: codecov/codecov-action@v3.1.3
uses: Wandalen/wretry.action@v1.0.36
with:
fail_ci_if_error: true
flags: full-suite
action: codecov/[email protected]
with: |
fail_ci_if_error: true
flags: full-suite
attempt_limit: 5
attempt_delay: 30000
- name: Upload coverage to Codecov (partial coverage)
if: needs.info.outputs.test_full_suite == 'false'
uses: codecov/codecov-action@v3.1.3
uses: Wandalen/wretry.action@v1.0.36
with:
fail_ci_if_error: true
action: codecov/[email protected]
with: |
fail_ci_if_error: true
attempt_limit: 5
attempt_delay: 30000

0 comments on commit 20a42c6

Please sign in to comment.