Skip to content

Commit 8bbdf79

Browse files
timtreisclaude
andauthored
ci: bump codecov-action to v6 and fail CI on upload error (#690)
codecov-action below v6.0.2 verifies the codecov CLI against Codecov's old Keybase key, which they bricked after migrating accounts, so uploads now fail with "Could not verify signature". v6 (= 6.0.2) ships the updated key. Also sets fail_ci_if_error: true (the cookiecutter-scverse template default) so a broken coverage upload surfaces as a CI failure instead of passing silently. Ref: codecov/codecov-action#1956 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ca6f571 commit 8bbdf79

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test-gpu.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,21 @@ jobs:
108108
109109
- name: Upload test results
110110
if: ${{ !cancelled() && contains(matrix.env.name, 'stable') }}
111-
uses: codecov/codecov-action@v5
111+
uses: codecov/codecov-action@v6
112112
with:
113113
report_type: test_results
114114
files: test-data/test-results.xml
115115
use_oidc: false
116-
fail_ci_if_error: false
116+
fail_ci_if_error: true
117117
token: ${{ secrets.CODECOV_TOKEN }}
118118

119119
- name: Upload coverage data
120120
if: contains(matrix.env.name, 'stable')
121-
uses: codecov/codecov-action@v5
121+
uses: codecov/codecov-action@v6
122122
with:
123123
files: test-data/coverage.xml
124124
use_oidc: false
125-
fail_ci_if_error: false
125+
fail_ci_if_error: true
126126
token: ${{ secrets.CODECOV_TOKEN }}
127127

128128
test-prerelease:

0 commit comments

Comments
 (0)