Skip to content

Commit

Permalink
CI: Add a retry on codecov upload. (#1288)
Browse files Browse the repository at this point in the history
Had an issue again with codecov, figured we might want to try something
like this.
Just an auto-retry, 10 times spaced by 10 seconds here.
  • Loading branch information
PapyChacal authored Jul 20, 2023
1 parent 4c2777b commit 7936261
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci-mlir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,14 @@ jobs:
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10'
uses: codecov/codecov-action@v3
uses: Wandalen/wretry.action@v1
with:
fail_ci_if_error: true
verbose: true
directory: ${GITHUB_WORKSPACE}/../
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
action: codecov/codecov-action@v3
attempt_delay: 10000
attempt_limit: 10
with: |
fail_ci_if_error: true
verbose: true
directory: ${GITHUB_WORKSPACE}/../
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 7936261

Please sign in to comment.