From db128907058fb472a16b5dedca04642b964ff37e Mon Sep 17 00:00:00 2001 From: Tim Treis Date: Mon, 8 Jun 2026 15:38:48 +0200 Subject: [PATCH] ci: bump codecov-action to v6 and fail CI on upload error 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: https://github.com/codecov/codecov-action/issues/1956 Co-Authored-By: Claude Opus 4.8 --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4ee1a57d..d2b8cb40 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -67,8 +67,9 @@ jobs: run: | pytest -v --cov --color=yes --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v6 with: + fail_ci_if_error: true name: coverage verbose: true env: