pavanmudigonda/jacoco-reporter
Publishes JaCoCo format Coverage Report in GitHub Actions as Checksuite and enforces Code Coverage Quality Gate.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| coverage_results_path | Path to the JaCoCo coverage results file which will be used to generate a report. The only coverage results format supported is the JaCoCo XML schema. | yes | — |
| output_level | Optionally specify the level of output detail for the test results. May be one of: `none`, `Minimal`, `normal`, `detailed`, `diagnostic` The default is `normal`. | no | — |
| github_token | GITHUB_TOKEN to authenticate against API calls to attach report to Workflow Run. | no | ${{github.token}} |
| skip_check_run | If true, will skip attaching the Tests Result report to the Workflow Run using a Check Run. Useful if you just want to produce a Gist-based report via the `gist_name` and `gist_token` input parameters. | no | — |
| coverage_paths | Comma-separated list of one or more directories to scan for code coverage, relative to the root of the project. Will include all .ps1 and .psm1 files under these directories recursively. | no | — |
| coverage_report_name | The name of the code coverage report object that will be attached to the Workflow Run. Defaults to the name `COVERAGE_RESULTS_<datetime>` where `<datetime>` is in the form `yyyyMMdd_hhmmss`. | no | — |
| coverage_report_title | The title of the code coverage report that will be embedded in the report itself, which defaults to the same as the `code_coverage_report_name` input. | no | — |
| minimum_coverage | Minimum allowed coverage percentage as an integer. | no | — |
| fail_below_threshold | Fail the action when the minimum coverage was not met. | no | — |
| publish_only_summary | If true, will skip attaching the Tests Result report to the Workflow Run using a Check Run. Useful if your report has 65k characters that is not accepted by Github REST and GraphQL APIs | no | — |
Outputs
| name | description |
|---|---|
| coverage_percentage | Coverage Percentage |
| covered_lines | Covered Lines |
| missed_lines | Missed Lines |
| total_lines | Total Lines |