Skip to content

Commit

Permalink
[chore][CI/CD] Fix failing codecov uploads (#9930)
Browse files Browse the repository at this point in the history
The `build-and-test` workflow has been failing consistently the last few
days on the upload coverage step. The reason is outlined in
open-telemetry/opentelemetry-collector-contrib#32259.

Contrib issue, but same underlying cause:
open-telemetry/opentelemetry-collector-contrib#32259

None yet, the CI/CD tests on this PR should be successful if this works.
  • Loading branch information
crobert-1 authored Apr 9, 2024
1 parent 792fac1 commit 4be76ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,12 @@ jobs:
- name: Upload coverage report
uses: Wandalen/wretry.action@1b2dcdbf61a2b96c52858ce7c24c5db099d58e77 # v3.0.1
with:
action: codecov/codecov-action@v3
action: codecov/codecov-action@v4
with: |
file: ./coverage.txt
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
attempt_limit: 10
attempt_delay: 15000

Expand Down

0 comments on commit 4be76ed

Please sign in to comment.