Add retry to codecov upload (#19679)

This commit is contained in:
Mac Siri 2023-07-03 16:40:51 -04:00 committed by GitHub
parent fdab1e3418
commit 894a318f99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -420,21 +420,33 @@ jobs:
mv simplecov-* coverage/simplecov
mv cypress-* coverage/cypress
mv jest coverage/jest
- uses: codecov/codecov-action@v3
- uses: Wandalen/wretry.action@master
with:
flags: ruby
directory: coverage/simplecov
fail_ci_if_error: true
- uses: codecov/codecov-action@v3
action: codecov/codecov-action@v3
with: |
flags: ruby
directory: coverage/simplecov
fail_ci_if_error: true
attempt_limit: 5
attempt_delay: 10000
- uses: Wandalen/wretry.action@master
with:
flags: jest, javascript
directory: coverage/jest
fail_ci_if_error: true
- uses: codecov/codecov-action@v3
action: codecov/codecov-action@v3
with: |
flags: jest, javascript
directory: coverage/jest
fail_ci_if_error: true
attempt_limit: 5
attempt_delay: 10000
- uses: Wandalen/wretry.action@master
with:
flags: cypress, javascript
directory: coverage/cypress
fail_ci_if_error: true
action: codecov/codecov-action@v3
with: |
flags: cypress, javascript
directory: coverage/cypress
fail_ci_if_error: true
attempt_limit: 5
attempt_delay: 10000
CI-status-report:
runs-on: ubuntu-latest