From a324239d84341f318765a31eb2f98b94f505e2ab Mon Sep 17 00:00:00 2001 From: Tim Treis Date: Mon, 8 Jun 2026 15:23:50 +0200 Subject: [PATCH] ci: bump codecov-action to v6 and fail CI on upload error 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: 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 6d1027b2..fcd708b3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -61,9 +61,10 @@ jobs: run: | uv run pytest --cov --color=yes --cov-report=xml -n auto --dist worksteal - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: name: coverage verbose: true + fail_ci_if_error: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}