actions-marketplace-validations/.Net Code Coverage Badge

Extact code coverage percentage from an opencover report and generates metadata for a shields.io badge

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 30, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/simon-k_dotnet-code-coverage-badge@63f60ff59952e7ea4e22f5c4ed6499fc356b035e # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
labelThe badge label. For example "Unit Test Coverage"noTest Coverage
colorThe color of the badge. See https://shields.io/ for optionsnobrightgreen
paththe path to the opencover.xml fileyes
gist-filenameFilename of the Gist used for storing the badge datano
gist-idID if the Gist used for storing the badge datano
gist-auth-tokenAuth token that alows to write to the given Gistno
namedescription
percentageThe code coverage percentage
badgeThe badge data as in json format as required by shields.io