-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
Description
Extend the existing GitHub Actions CI pipeline to measure and report code coverage using cargo-llvm-cov, posting a coverage summary on every pull request.
Requirements
- Install and run
cargo-llvm-covin CI - Generate coverage report in lcov format
- Upload to Codecov or post summary comment on PR
- Set a minimum coverage threshold of 60% (fail CI below this)
- Add coverage badge to README
Suggested Execution
- Branch:
git checkout -b ci/code-coverage - Update
.github/workflows/ci.yml - Add
cargo-llvm-covstep after tests - Configure Codecov or GitHub PR comment action
- Add coverage badge to README
- Commit:
ci: add code coverage reporting with cargo-llvm-cov
Acceptance Criteria
- Coverage measured on every PR
- Summary visible on PR page
- Minimum 60% threshold enforced
- Coverage badge in README
- Coverage report downloadable as artifact
Reactions are currently unavailable