actions-marketplace-validations/JaCoCo Report
Publishes the JaCoCo report as a comment in the Pull Request
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | Comma separated paths of the generated jacoco xml files (supports wildcard glob pattern) | yes | — |
| token | Github personal token to add comments to Pull Request | yes | — |
| min-coverage-overall | The minimum code coverage that is required to pass for overall project | no | 80 |
| min-coverage-changed-files | The minimum code coverage that is required to pass for changed files | no | 80 |
| title | Optional title for the Pull Request comment | no | — |
| update-comment | Update the coverage report comment instead of creating new ones. Requires title to works properly. | no | false |
| comment-type | Specifies where to add the comment, whether as a PR comment, workflow summary, or both. | no | pr_comment |
| pr-number | The PR number to add the comment to. If not provided, the action will try to get it from the environment. | no | — |
| skip-if-no-changes | Comment won't be added if there is no coverage information present for the files changed | no | false |
| pass-emoji | Github emoji to use for pass status shown when coverage greater than min coverage (should be a Github supported emoji) | no | :green_apple: |
| fail-emoji | Github emoji to use for fail status shown when coverage lesser than min coverage (should be a Github supported emoji) | no | :x: |
| continue-on-error | When there is an error do not fail the action, but log a warning | no | true |
| debug-mode | Run the action in debug mode and get debug logs printed in console | no | false |
Outputs
| name | description |
|---|---|
| coverage-overall | The overall coverage of the project |
| coverage-changed-files | The total coverage of all changed files |