luk-schweizer/Jest Code Coverage Badge
Collects Jest Code Coverage metrics and creates an informative Badge for readme files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| test-command | Command that will execute and collect test coverage data. Should include --coverage option | no | npx jest --coverage |
| coverage-type | Coverage type to be gathered. Valid options are: statements, methods or conditionals | no | statements |
| badge-label | Label for the badge | no | coverage |
| badge-logo | Show jest logo | no | true |
| badge-color-configuration | Configuration for the badge colors depending on the code coverage percentage | no | [{"color": "red", ">=": 0, "<": 30 }, {"color": "orange", ">=": 30, "<": 40 },{"color": "yellow", ">=": 40, "<": 60 },{"color": "yellowgreen", ">=": 60, "<": 70 },{"color": "green", ">=": 70, "<": 90 },{"color": "brightgreen", ">=": 90, "<=": 100 }] |
| kvaas-key-url | KVaaS key url where to post coverage values. If not present the action will generate a new url. More info in https://keyvalue.xyz | no | — |
Outputs
no outputs