hyperse-io/Hyperse Vitest Coverage Reporter
Provide a Vitest Test Coverage Report as Step-Summary and comment in Pull Requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | A github access token with permissions to write to issues. Uses secrets.GITHUB_TOKEN by default. | no | ${{ github.token }} |
| write-summary-to-readme | Write the coverage summary to the README.md file. | no | ## Coverage Report |
| vite-config-path | The path to the vite config file. By default, looks for paths by the pattern "vite[st].config.{t|mt|ct|j|mj|cj}s". | no | — |
| json-summary-path | The path to the json summary file. Uses "coverage/coverage-summary.json" by default. | no | coverage/coverage-summary.json |
| json-summary-compare-path | The path to the json summary file of the previous run to get trend indicators. | no | — |
| json-final-path | The path to the json final file. Uses "coverage/coverage-final.json" by default. | no | coverage/coverage-final.json |
| file-coverage-mode | How to show summary for files coverage. Uses "changes" by default. | no | changes |
| repo-cwd | Custom repo directory | no | ./ |
| include-all-projects | Include all projects or auto detect file changed project in the pull request. | no | false |
| name | The name of the coverage report. Can be used to execute this action multiple times. | no | "" |
| pr-number | An optional, user-defined pull request number. | no | "" |
Outputs
no outputs