[CI] Add branch specific rule for codecov upload (#19736)
This commit is contained in:
parent
0b7545b2a4
commit
290b9bd775
1 changed files with 6 additions and 6 deletions
12
.github/workflows/ci-cd.yml
vendored
12
.github/workflows/ci-cd.yml
vendored
|
|
@ -427,27 +427,27 @@ jobs:
|
|||
with: |
|
||||
flags: ruby
|
||||
directory: coverage/simplecov
|
||||
fail_ci_if_error: true
|
||||
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
|
||||
attempt_limit: 5
|
||||
attempt_delay: 10000
|
||||
attempt_delay: 30000
|
||||
- uses: Wandalen/wretry.action@master
|
||||
with:
|
||||
action: codecov/codecov-action@v3
|
||||
with: |
|
||||
flags: jest, javascript
|
||||
directory: coverage/jest
|
||||
fail_ci_if_error: true
|
||||
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
|
||||
attempt_limit: 5
|
||||
attempt_delay: 10000
|
||||
attempt_delay: 30000
|
||||
- uses: Wandalen/wretry.action@master
|
||||
with:
|
||||
action: codecov/codecov-action@v3
|
||||
with: |
|
||||
flags: cypress, javascript
|
||||
directory: coverage/cypress
|
||||
fail_ci_if_error: true
|
||||
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
|
||||
attempt_limit: 5
|
||||
attempt_delay: 10000
|
||||
attempt_delay: 30000
|
||||
|
||||
CI-status-report:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue