Skip to content

Comments

Add coverage workflow and badge#266

Merged
mvandeberg merged 1 commit intocppalliance:developfrom
mvandeberg:pr/coverage
Feb 20, 2026
Merged

Add coverage workflow and badge#266
mvandeberg merged 1 commit intocppalliance:developfrom
mvandeberg:pr/coverage

Conversation

@mvandeberg
Copy link
Contributor

@mvandeberg mvandeberg commented Feb 20, 2026

Summary by CodeRabbit

Release Notes

  • Chores

    • Introduced automated code coverage collection and tracking pipeline that runs on every push to master and develop branches.
    • Coverage reports are now automatically generated and deployed for public viewing.
  • Documentation

    • Updated coverage badge and links to reflect the new code coverage tracking system.

@mvandeberg mvandeberg merged commit 9f8d9d0 into cppalliance:develop Feb 20, 2026
1 of 12 checks passed
@mvandeberg mvandeberg deleted the pr/coverage branch February 20, 2026 22:23
@coderabbitai
Copy link

coderabbitai bot commented Feb 20, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow is introduced to automate code coverage collection using gcovr, with results deployed to a separate code-coverage branch for GitHub Pages hosting. Documentation is updated to reference the new coverage system instead of Codecov.

Changes

Cohort / File(s) Summary
CI/CD Coverage Workflow
.github/workflows/code-coverage.yml
New workflow that runs on pushes to master/develop and manual dispatch. Executes build, tests, and gcovr coverage analysis on ubuntu-24.04 with GCC 13. Sets up an orphan code-coverage branch, manages coverage artifacts, and prepares deployment to GitHub Pages via branch amendments and force-pushes.
Documentation
README.md
Updated coverage badge references from Codecov to gcovr-based "Lines" coverage badges for master and develop branches, with corresponding links to coverage pages.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A workflow springs to life so bright,
With gcovr casting coverage light,
Branches bloom in CI's embrace,
Coverage metrics find their place!
Automation hops through every test. 🐇

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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