Skip to content

Upload coverage reports to Codecov from CI - #17

Merged
bgrewell merged 1 commit into
mainfrom
ci/codecov-upload
Aug 6, 2026
Merged

Upload coverage reports to Codecov from CI#17
bgrewell merged 1 commit into
mainfrom
ci/codecov-upload

Conversation

@bgrewell

@bgrewell bgrewell commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

The Codecov badge shows ~11% because nothing ever uploads coverage — the badge reflects stale data from long before the current test suite. Our CI computes coverage.out and prints the summary in the log, but the report never left the runner.

This adds the codecov/codecov-action@v5 upload step using the repository's existing CODECOV_TOKEN secret (already configured — verified via the API). fail_ci_if_error: false keeps Codecov outages from breaking the build.

Once this merges and CI runs on main, the badge should update to the real number (~74% of statements across ./pkg/..., measured with -coverpkg).

Test plan

  • CI on this PR will perform the first real upload; check the Codecov dashboard after the run

The CI workflow computed a coverage profile but never uploaded it, so
the Codecov badge kept showing stale data from long before the current
test suite existed. Add the codecov-action upload step using the
repository's existing CODECOV_TOKEN secret; upload failures are
non-fatal so Codecov outages cannot break the build.
@bgrewell
bgrewell merged commit daea9c2 into main Aug 6, 2026
1 check passed
@bgrewell
bgrewell deleted the ci/codecov-upload branch August 6, 2026 14:45
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