actions-marketplace-validations/Jest Coverage Reporter Action
Provide a coverage report based on a base/master coverage report
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-coverage-report-path | Path to base coverage report (not required if AWS credentials are provided) | no | — |
| branch-coverage-report-path | Path to the current coverage report (not required if AWS credentials are provided) | no | — |
| accessToken | access token required to comment on a pr | — | ${{ github.token }} |
| fullCoverageDiff | get the full coverage with diff or only the diff | — | false |
| delta | Difference between the old and final test coverage | — | 0.2 |
| useSameComment | While commenting on the PR update the exisiting comment | — | true |
| custom-message | Pass any custom string which will be displayed in the comment | — | "" |
| only-check-changed-files | Only test for changed files in the PR | — | true |
| prefix-filename-url | Add a base URL to the filenames and make it a hyperlink | — | "" |
| check-new-file-full-coverage | Check newly added files whether have full coverage tests | — | true |
| new-file-coverage-threshold | Threshold for new file coverage | — | 100 |
| coverageType | Tools that generate code coverage | no | jest |
| aws-access-key-id | AWS access key ID for S3 operations | no | — |
| aws-secret-access-key | AWS secret access key for S3 operations | no | — |
| aws-region | AWS region for S3 operations | no | us-east-2 |
| s3-bucket | S3 bucket name for storing coverage reports | no | — |
| s3-repo-directory | Directory inside the S3 bucket dedicated to this repository | no | "" |
| base-branch | Base branch name (e.g., main or master) | no | main |
| pr-number | Pull request number | no | — |
| s3-base-url | Base URL for S3 coverage reports | no | — |
Outputs
no outputs