Skip to content

chore: add code coverage tooling (kcov + Codecov) - #12

Merged
indaco merged 5 commits into
mainfrom
chore/code-coverage
Apr 10, 2026
Merged

chore: add code coverage tooling (kcov + Codecov)#12
indaco merged 5 commits into
mainfrom
chore/code-coverage

Conversation

@indaco

@indaco indaco commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • New just coverage recipe runs every test binary under kcov, merges the per-binary reports, and prints the line-coverage percentage.
  • New test-bin build step in build.zig installs each test binary with a unique name into zig-out/test-bin/ so external tools (kcov) can run them.
  • New Coverage GitHub workflow
  • Codecov badge added to the README.

@indaco
indaco merged commit f7721f9 into main Apr 10, 2026
2 checks passed
@indaco
indaco deleted the chore/code-coverage branch April 10, 2026 14:23
indaco added a commit that referenced this pull request Apr 13, 2026
* chore(coverage): add kcov-based coverage recipe and test-bin build step

* ci(coverage): add Codecov workflow

* docs(readme): add Codecov badge

* revert(ci): drop coverage workflow - kcov on macOS runners is too slow

* chore(coverage): generate self-hosted badge SVG locally
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