Skip to content

Fix test-coverage: update codecov-action to v7 and don't fail on upload errors - #40

Merged
kestrel99 merged 1 commit into
masterfrom
fix-codecov-gpg
Oct 7, 2026
Merged

kestrel99 merged 1 commit into
masterfrom
fix-codecov-gpg

Conversation

@kestrel99

@kestrel99 kestrel99 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

test-coverage has failed on every push to master even though the tests pass (226/0). Two causes in the Codecov upload step:

  1. codecov-action v6.0.0 can't import Codecov's GPG key from Keybase, so CLI verification fails with Could not verify signature (GPG public key import returns invalid OpenPGP data, blocking Codecov uploads codecov/codecov-action#1955). Fixed by pinning v7 (fb8b358), matching the current r-lib/actions example; this run verified the CLI successfully.
  2. With that fixed, Codecov rejects the upload because no CODECOV_TOKEN secret is set (Token required because branch is protected). This sets fail_ci_if_error: false so upload problems no longer fail the job.

Note: until a token is added, coverage is still not reaching codecov.io (the README badge will be stale).

codecov-action v6.0.0 imports Codecov's signing key from Keybase, which
returns invalid OpenPGP data, so the CLI signature check fails and every
push to master fails test-coverage (codecov/codecov-action#1955). Pin the
v7 SHA used by the current r-lib/actions example.
@kestrel99
kestrel99 merged commit ca93e1d into master Oct 7, 2026
7 checks passed
@kestrel99 kestrel99 changed the title Fix test-coverage: update codecov-action to v7 Fix test-coverage: update codecov-action to v7 and don't fail on upload errors Oct 8, 2026
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.

1 participant