madrapps/JaCoCo Report

Publishes the JaCoCo report as a comment in the Pull Request

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathsComma separated paths of the generated jacoco xml files (supports wildcard glob pattern)yes
tokenGithub token to add comments to Pull Request (defaults to automatic token, make sure job permissions allow it to write to pull_requests)no${{ github.token }}
min-coverage-overallThe minimum code coverage that is required to pass for overall projectno80
min-coverage-changed-linesThe minimum code coverage that is required to pass for changed linesno80
titleOptional title for the Pull Request commentno
update-commentUpdate the coverage report comment instead of creating new ones. Requires title to works properly.nofalse
comment-typeSpecifies where to add the comment, whether as a PR comment, workflow summary, or both.nopr_comment
pr-numberThe PR number to add the comment to. If not provided, the action will try to get it from the environment.no
skip-if-no-changesComment won't be added if there is no coverage information present for the files changednofalse
pass-emojiGithub emoji to use for pass status shown when coverage greater than min coverage (should be a Github supported emoji)no:green_apple:
fail-emojiGithub emoji to use for fail status shown when coverage lesser than min coverage (should be a Github supported emoji)no:x:
continue-on-errorWhen there is an error do not fail the action, but log a warningnotrue
coverage-counter-typeThe type of JaCoCo counter to use for coverage calculation (INSTRUCTION, BRANCH, LINE, COMPLEXITY, METHOD). Note: COMPLEXITY and METHOD are not available at per-line granularity, so changed-lines coverage will fall back to INSTRUCTION for those types.noINSTRUCTION
show-all-modulesIf true, show coverage for all modules in the comment, not just those with changed filesnofalse
show-missing-linesIf true, show the line numbers of uncovered code in the Files table with hyperlinksnotrue
debug-modeRun the action in debug mode and get debug logs printed in consolenofalse
head-shaThe head SHA to use for comparing changes. Useful when the head SHA is not available in the context (e.g. PRs from forks via workflow_run).no
base-shaThe base SHA to use for comparing changes. Useful when the base SHA is not available in the context (e.g. PRs from forks via workflow_run).no
namedescription
coverage-overallThe overall coverage of the project
coverage-changed-linesThe coverage of lines that were changed in the PR