alagos/SimpleCov Delta
Merge SimpleCov coverage results and report deltas via GitHub Checks and PR comments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| resultset-paths | Glob pattern(s) to find .resultset.json files. Multiple patterns separated by newlines. Example: results/*/.resultset.json | yes | — |
| baseline-path | Path to a baseline .resultset.json file (for comparison). If not provided, no diff is computed. | no | "" |
| coverage-path | Output directory for merged results (HTML, .resultset.json). | no | coverage |
| simplecov-profile | SimpleCov profile to use during collation (e.g., rails, root). | no | rails |
| simplecov-filters | Newline-separated list of regex filters to exclude from coverage (e.g., ^/vendor/). | no | "" |
| simplecov-groups | Newline-separated list of name:path pairs for SimpleCov groups (e.g., Services:app/services). | no | "" |
| min-coverage | Minimum overall coverage percentage. If below, the check run is marked as neutral. | no | 0 |
| token | GitHub token for creating Check Runs and PR comments. | no | ${{ github.token }} |
| check-name | Name for the GitHub Check Run. | no | Coverage Report |
| post-comment | Whether to post/update a sticky PR comment with coverage summary. | no | true |
| annotations | Whether to add inline annotations on uncovered lines in changed files. | no | true |
Outputs
| name | description |
|---|---|
| total-coverage | Overall coverage percentage (e.g., 54.2). |
| coverage-delta | Change vs baseline (e.g., +1.3 or -0.5). Empty if no baseline provided. |
| html-path | Path to the merged HTML report directory. |
| resultset-path | Path to the merged .resultset.json file. |