Skip to content

Commit

Permalink
[Backport 2.x] Retry code coverage upload on failure (#3242)
Browse files Browse the repository at this point in the history
Backport of d7d7f62 from #3242

Signed-off-by: Peter Nied <[email protected]>
(cherry picked from commit d7d7f62)
  • Loading branch information
peternied committed Aug 26, 2023
1 parent d0544cf commit d00d774
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,15 @@ jobs:
-x test
- name: Coverage
uses: codecov/codecov-action@v1
uses: Wandalen/wretry.action@v1.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/reports/jacoco/test/jacocoTestReport.xml
attempt_limit: 3
attempt_delay: 2000
action: codecov/codecov-action@v3
with: |
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./build/reports/jacoco/test/jacocoTestReport.xml
- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit d00d774

Please sign in to comment.