simon-k/.Net Code Coverage Badge
Extact code coverage percentage from an opencover report and generates metadata for a shields.io badge
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| label | The badge label. For example "Unit Test Coverage" | no | Test Coverage |
| color | The color of the badge. See https://shields.io/ for options | no | brightgreen |
| path | the path to the opencover.xml file | yes | — |
| gist-filename | Filename of the Gist used for storing the badge data | no | — |
| gist-id | ID if the Gist used for storing the badge data | no | — |
| gist-auth-token | Auth token that alows to write to the given Gist | no | — |
Outputs
| name | description |
|---|---|
| percentage | The code coverage percentage |
| badge | The badge data as in json format as required by shields.io |