codelyze/Codelyze - Coverage
Github action to generate and upload coverage reports
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Coverage upload token generated when project is created on codelyze.com | yes | — |
| gh-token | GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT) | — | ${{ github.token }} |
| path | Path to coverage file to use | yes | — |
| annotations | Show uncovered lines annotations | no | true |
| threshold | The minimum coverage allowed. If coverage is lower than this, the action will fail | no | 0 |
| difference-threshold | The minimum total difference allowed between the current commit and the reference one | — | 0 |
| patch-threshold | the minimum value for patch coverage: the minimum ratio of new lines that are not covered. | — | 0 |
| skip-empty-patch | if true, skip the commit status for a patch that has no coverable line changes. | — | false |
Outputs
| name | description |
|---|---|
| coverage | Object that contains `linesFound`, `linesCovered` and `rate` of the commit's coverage |
| difference | The coverage rate's difference between the commit and HEAD |
| patch | Object that contains `linesFound`, `linesCovered`, and `rate` of the commit's patch coverage |