Skip to content

Commit eb4fb3d

Browse files
authored
ci: bump codecov-action to v6 and fail CI on upload error (#1142)
codecov-action@v5 verifies the codecov CLI against Codecov's old Keybase key, which they bricked after migrating accounts, so the upload step now fails with "Could not verify signature". v6 (= 6.0.2) ships the updated key. Also restores fail_ci_if_error: true (the cookiecutter-scverse template default) so a broken coverage upload surfaces as a CI failure instead of silently passing. Ref: codecov/codecov-action#1956
1 parent c5e9681 commit eb4fb3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ jobs:
6161
run: |
6262
uv run pytest --cov --color=yes --cov-report=xml -n auto --dist worksteal
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v5
64+
uses: codecov/codecov-action@v6
6565
with:
6666
name: coverage
6767
verbose: true
68+
fail_ci_if_error: true
6869
env:
6970
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)