Skip to content

Improve CI Pipeline: Add Code Coverage Reporting #286

@Timi16

Description

@Timi16

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-cov in 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

  1. Branch: git checkout -b ci/code-coverage
  2. Update .github/workflows/ci.yml
  3. Add cargo-llvm-cov step after tests
  4. Configure Codecov or GitHub PR comment action
  5. Add coverage badge to README
  6. 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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions