actions-marketplace-validations/Coverage Comment

Publish diff coverage report as PR comment, and create a coverage badge to display on the readme.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENA GitHub token to write comments and write the badge to the wiki (``github.token``) yes
COVERAGE_FILEPath and filename of the coverage XML file to analyze. nocoverage.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_ENABLEDWhether or not a badge will be generated and stored. notrue
BADGE_FILENAMEName of the json file containing badge informations stored in the repo wiki. nocoverage-comment-badge.json
MINIMUM_GREENIf the coverage percentage is above or equal to this value, the badge will be green. no100
MINIMUM_ORANGEIf the coverage percentage is not green and above or equal to this value, the badge will be orange. Otherwise it will be red. no70

no outputs