Code coverage reports
Still in development, but actually the first iteration is functional. Run coverage reports using gcovr + github pages. No Codecov. To explain more: imagine Codecov-like coverage reports, except they are built with an open source software tool "gcovr". Hosted on Github Pages, and you have potentially more control over the output, the steps, the appearance, etc. since the script is customizable. Instructions: https://github.com/boostorg/boost-ci/blob/master/docs/code-coverage.md
On Sun, Feb 15, 2026 at 5:38 AM Sam Darwin via Boost <boost@lists.boost.org> wrote:
Still in development, but actually the first iteration is functional.
"Hi, Sam here. I want to tell you about an exciting feature we are developing to bring more value to Boost libraries. Many libraries are using codecov.io to host coverage reports. This solution is better than nothing, yet codecov is a for-profit company and sometimes the decisions they make are not necessarily aligned with the needs of the libraries in Boost. The C++ Alliance has developed a convenient alternative: generate beautiful looking coverage reports using our gcovr templates, and then publish them yourself for free on GitHub Pages using our provided GitHub Actions scripts. Joaquin has deployed this solution for his in-development library "Hub" and you can see those reports: https://joaquintides.github.io/hub/develop/gcovr/index.html I've put together a set of instructions to help you achieve this functionality for your own repository: https://github.com/boostorg/boost-ci/blob/master/docs/code-coverage.md Thanks to Julio Estrada for developing the UI for the reports."
[...] Joaquin has deployed this solution for his in-development library "Hub" and you can see those reports:
On a road trip in Chile with my family, so not much time right now. I took a quick look at Hub's report, and it looks good. I will probably switch after the next release. Anything like this on the horizon for coverity reports? ;-) Since we're at it, another wild idea...I asked the Godbolt team about a nightly build of Boost. Partouf roundly convinced me that it was a tall order. Maybe we could have our own instance? J-L
On 15/02/2026 13:37, Sam Darwin via Boost wrote:
Still in development, but actually the first iteration is functional.
Run coverage reports using gcovr + github pages. No Codecov.
To explain more: imagine Codecov-like coverage reports, except they are built with an open source software tool "gcovr". Hosted on Github Pages, and you have potentially more control over the output, the steps, the appearance, etc. since the script is customizable.
Instructions: https://github.com/boostorg/boost-ci/blob/master/docs/code-coverage.md
Cool. Maybe I'm being stupid, but something I miss with this (and other similar tools) is the ability to skip forwards/backwards to the next uncovered line (and highlight it), is this something that might be possible? Many thanks for doing this though, it looks cool, and we'll try to try it out shortly. Best, John.
the ability to skip forwards/backwards
I have created a github issue: https://github.com/boostorg/boost-ci/issues/320 Julio has been working on the HTML templates and perhaps it could be implemented there using javascript. Please comment in the issue about how you think this would work. Are there similar examples from other browser-based applications?
participants (4)
-
Jean-Louis Leroy -
John Maddock -
Sam Darwin -
Vinnie Falco