Skip to content
J

Jacoco Report

Github action that publishes the JaCoCo report as a comment in the Pull Request

by MadrappsFree

#4216in Developer Tools
0In stores

Description

jacoco-report is a GitHub Action that publishes a JaCoCo coverage report as a comment on a pull request. The comment shows coverage for the…

Highlights

  • JaCoCo report as a pull request comment
  • Coverage for changed lines and files
  • Pass thresholds for overall and changed code
  • Post to PR comment, summary or both
  • Update the previous comment

Ratings & Reviews

No ratings yet

Be the first to rate Jacoco Report.

People also visit

A

Action Junit Report

Reports junit test results as GitHub Pull Request Check

Productivity
Launch
O

OtterWise Code Coverage Reporting

Track Code Coverage and quality simpler than ever

Developer Tools
Launch
T

Test Reporter

Displays test results from popular testing frameworks directly in GitHub

Developer Tools
Launch
R

review-pr

Review GitHub pull requests in CI for bugs and regressions

AI Skills
Get
R

review-pr

Review a pull request diff and write structured feedback to review.json

AI Skills
Get
P

pr-review-comments

Posts review findings

AI Skills
Get

Jacoco Report FAQ

What does this action do?

It reads JaCoCo XML coverage files and posts a coverage report as a comment on a pull request.

How do I set it up?

Add a workflow file under .github/workflows and give the job pull-requests write and contents read permissions, as the README describes.

Can it fail a build?

Yes. You set minimum coverage for the overall project and for changed lines, with a default of 80 percent each.

Can it update an old comment?

Yes. With update-comment set to true, it replaces the previous coverage comment. The README says this needs a title.

What are the best Jacoco Report alternatives?

Popular alternatives to Jacoco Report include OtterWise Code Coverage Reporting, Test Reporter and Publish Unit Test Result Action. See all Jacoco Report alternatives

Developer Stuff

Badges