Code coverage#529
Draft
kvpanch wants to merge 20 commits into
Draft
Conversation
Adds `make coverage` (cargo-llvm-cov over the full workspace including revive-llvm-builder), a new "Code coverage" book chapter that links to the locally-collected report with the commit + UTC timestamp stamped in, and a PR workflow that publishes the report to gh-pages when the `measure code coverage` label is applied.
xermicus
reviewed
May 27, 2026
| MDBOOK_VERSION = 0.5.1 | ||
|
|
||
| install-mdbook: | ||
| @mdbook --version 2>/dev/null | grep -qx "mdbook v$(MDBOOK_VERSION)" \ |
Member
There was a problem hiding this comment.
Is this necessary? The cargo install is essentially a no-op if the installed version is already present
elle-j
reviewed
Jun 12, 2026
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: xermicus <bigcyrill@hotmail.com>
Signed-off-by: xermicus <bigcyrill@hotmail.com>
Member
|
Pushed to the branch since @kvpanch is OOO. Eventually I scrapped the book approach. It's too brittle. I vote: Merge this now as is with just the fixes, and think a bit more about where the coverage report should live. Or if we should overhaul the approach of checking in the build |
elle-j
reviewed
Jul 9, 2026
elle-j
left a comment
Contributor
There was a problem hiding this comment.
Let's preferably hold off with this merge atm, found some security issues and other fixes that I'll address as a PR targeting this branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
make coverage(cargo-llvm-cov over the full workspace including revive-llvm-builder), a new "Code coverage" book chapter that links to the locally-collected report with the commit + UTC timestamp stamped in, and a PR workflow that publishes the report to gh-pages when themeasure code coveragelabel is applied.