Skip to content

ci: bump codecov-action to v6 and fail CI on upload error#404

Open
timtreis wants to merge 1 commit into
mainfrom
fix/codecov-action-v6-signature
Open

ci: bump codecov-action to v6 and fail CI on upload error#404
timtreis wants to merge 1 commit into
mainfrom
fix/codecov-action-v6-signature

Conversation

@timtreis
Copy link
Copy Markdown
Member

@timtreis timtreis commented Jun 8, 2026

Two changes to every codecov upload step in this repo:

  1. codecov-action -> @v6. Versions below 6.0.2 verify the codecov CLI binary 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.
  2. fail_ci_if_error: true. Matches the cookiecutter-scverse template default so a broken upload fails CI loudly instead of passing silently.

Ref: codecov/codecov-action#1956

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>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 36.99%. Comparing base (a63ca08) to head (db12890).

❗ There is a different number of reports uploaded between BASE (a63ca08) and HEAD (db12890). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (a63ca08) HEAD (db12890)
3 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #404       +/-   ##
===========================================
- Coverage   63.38%   36.99%   -26.40%     
===========================================
  Files          26       26               
  Lines        3217     3217               
===========================================
- Hits         2039     1190      -849     
- Misses       1178     2027      +849     

see 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants