actions-marketplace-validations/Coverage Comment
Publish diff coverage report as PR comment, and create a coverage badge to display on the readme.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | A GitHub token to write comments and write the badge to the wiki (``github.token``) | yes | — |
| COVERAGE_FILE | Path and filename of the coverage XML file to analyze. | no | coverage.xml |
| COMMENT_TEMPLATE | [Advanced] Specify a different template for the comments that will be written on the PR. | no | — |
| DIFF_COVER_ARGS | [Advanced] Additional args to pass to diff cover (one per line) | no | — |
| BADGE_ENABLED | Whether or not a badge will be generated and stored. | no | true |
| BADGE_FILENAME | Name of the json file containing badge informations stored in the repo wiki. | no | coverage-comment-badge.json |
| MINIMUM_GREEN | If the coverage percentage is above or equal to this value, the badge will be green. | no | 100 |
| MINIMUM_ORANGE | If the coverage percentage is not green and above or equal to this value, the badge will be orange. Otherwise it will be red. | no | 70 |
Outputs
no outputs