Skip to content

ci: upload kcov coverage to Codecov and add badge#12

Merged
ncode merged 2 commits into
mainfrom
juliano/codecov
May 11, 2026
Merged

ci: upload kcov coverage to Codecov and add badge#12
ncode merged 2 commits into
mainfrom
juliano/codecov

Conversation

@ncode
Copy link
Copy Markdown
Owner

@ncode ncode commented May 11, 2026

The CI already runs kcov via zig build test-coverage and merges the reports into zig-out/coverage/merged/. Forward the resulting cobertura.xml to Codecov so coverage is tracked over time, and surface the badge in the README.

ncode added 2 commits May 11, 2026 22:34
The CI already runs kcov via `zig build test-coverage` and merges the
reports into `zig-out/coverage/merged/`. Forward the resulting
cobertura.xml to Codecov so coverage is tracked over time, and surface
the badge in the README.
codecov/codecov-action@v5 verifies the uploader binary's GPG signature
before running it. The debian:trixie-slim container we run the job in
doesn't ship gpg, so the action fails with "required dependencies are
missing: gpg". Add gnupg to the apt-get install list.
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@ncode ncode merged commit eae3850 into main May 11, 2026
1 check passed
@ncode ncode deleted the juliano/codecov branch May 11, 2026 20:40
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