speareducation/Spear Check Code Coverage
Checks code coverage against another branch and outputs the difference. Requires AWS env vars
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bucket | The bucket in which results are stored | — | — |
| localFile | The file in which code coverage results can be found. | — | — |
| remoteFile | The file in S3 to compare | — | — |
| failureThreshold | The threshold (typically a negative integer) which triggers a failure. Please note this action must not, itself, fail due to this. It simply triggers an output boolean | — | — |
Outputs
| name | description |
|---|---|
| description | String; A user-friendly sentence describing the state of coverage. |
| difference | Number; The difference in coverage as a decimal. example -5.25 or 5.25 |
| emoji | String; The emoji to be used along with the difference |
| failure | Boolean; Whether the coverage check exceeds the threshold |