We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b65c09 commit 16419f6Copy full SHA for 16419f6
.github/workflows/coverage.yml
@@ -107,8 +107,11 @@ jobs:
107
retention-days: 14
108
109
- name: Upload coverage report to Codecov
110
+ # Only run if the Codecov token is configured
111
+ if: ${{ secrets.CODECOV_TOKEN != '' }}
112
+ continue-on-error: true # Don't fail the workflow if Codecov upload fails
113
uses: codecov/codecov-action@v3
114
with:
115
token: ${{ secrets.CODECOV_TOKEN }}
116
files: lcov.info
- fail_ci_if_error: true
117
+ fail_ci_if_error: false # Don't fail even if the Codecov upload fails
0 commit comments