Replace Codecov with a coverage badge from the documentation site - #151
Merged
Merged
Conversation
Compute line coverage from the JaCoCo CSV report and show it in the job summary instead of uploading it to Codecov. On pushes to main, a separate job with contents: write publishes shields.io endpoint data to an orphan badges branch, which the README badge reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yawkat
enabled auto-merge (squash)
September 25, 2026 18:29
yawkat
disabled auto-merge
September 25, 2026 18:37
Instead of pushing badge data to a badges branch on every push to main, run the tests with coverage in the documentation build and publish the JaCoCo report and badge data under current/coverage on the site. This drops the job with contents: write and brings back a browsable report. On pages for older versions, pin the Maven Central badge to that version and drop the other badges, which only reflect the current state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yawkat
enabled auto-merge (squash)
September 25, 2026 18:43
…alternatives-836530 # Conflicts: # docs/justfile
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.
Replaces the Codecov upload with a coverage badge and report hosted on the documentation site, so there are no third-party PR comments, status checks or app permissions.
scripts/jacoco_summary.pysums line coverage from the JaCoCo CSV report and can write a shields.io endpoint badge JSON.id-token: writeis dropped.-Pcoverage(needs the submodule and JDK 7 toolchain, like the test job), andjust allpublishes the JaCoCo HTML report andbadge.jsonundercurrent/coverage/.https://lz4-java.yawk.at/current/coverage/badge.jsonand links to the report.Notes:
main. It is missing until the next docs deployment.🤖 Generated with Claude Code