actions-marketplace-validations/Coverage monitor
A GitHub Action that monitor coverage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | **Required.** The GITHUB_TOKEN secret. | yes | — |
| coverage_path | **Required.** Path to coverage reports. | no | — |
| coverage_format | Format of coverage, supported: `auto`, `clover` and `json-summary`. If not set the action will try to guess the format, by file extension, name and eventually by content. | no | auto |
| clover_file | **Deprecated.** Path to Clover XML file. This option is deprecated, replaced with `coverage_path`. If both `clover_file` and `coverage_path` are set, the action will fail. | no | — |
| working_dir | The working directory of the action. Defaults to workflow workspace. | no | "" |
| threshold_alert | Mark the build as unstable when coverage is less than this threshold. | no | 50 |
| threshold_warning | Warning when coverage is less than this threshold. | no | 90 |
| threshold_metric | A metric to check threshold on, supported: `statements`, `lines`, `methods` or `branches`. | no | lines |
| check | Whether check the coverage thresholds. | no | true |
| status_context | A string label to differentiate this status from the status of other systems. | no | Coverage Report |
| comment | Whether comment the coverage report. | no | true |
| comment_context | A string label to differentiate the comment posted by this action. | no | Coverage Report |
| comment_mode | A mode for comments, supported: `replace`, `update` or `insert`. | no | replace |
| comment_footer | Whether comment may contain footer. | no | true |
Outputs
no outputs