jplomas/Ignore Coverage
Filter ignored code from coverage profiles (supports both Go coverprofiles and LCOV tracefiles)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file | Path to the coverage file (e.g. lcov.info or coverage.out) | yes | — |
| output | Path to write the updated coverage file (defaults to overwriting input) | no | — |
| root | Root folder of the project | no | . |
| exclude-globs | Comma-separated glob patterns to exclude | no | — |
| exclude-regex | Comma-separated regex patterns to exclude | no | — |
| config | Path to reasons config YAML file (defaults to .coverage-reasons.yml) | no | — |
| require-reason | Fail if any coverage:ignore directive is missing a reason tag (true/false) | no | false |
| ignore-empty | Ignore empty functions (Go coverprofile only, true/false) | no | false |
| verbose | Enable verbose output (true/false) | no | false |
Outputs
no outputs