sfinx13/phpunit-coverage-badge
Creates a code coverage badge from phpunit reports
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| report | The path to the report file generated by PHPUnit. | no | clover.xml |
| report_type | The type of the generated report. Currently supported: clover, html. | no | clover |
| coverage_badge_path | The path inside the repository where the created badge should be saved. Can be anywhere except inside the .github folder. | no | coverage_badge.svg |
| push_badge | Defines whether the badge will be committed and pushed to the repository. | no | false |
| repo_token | Token to push the badge into the repository. Can be supplied with $/{{ secrets.GITHUB_TOKEN }} (without the "/"). | no | NOT_SUPPLIED |
| commit_message | Commit message that will be used to commit the updated badge and clover file. | no | Update code coverage badge |
| commit_email | Email that will be used for the commit. | no | 41898282+github-actions[bot]@users.noreply.github.com |
| commit_name | Name that will be used for the commit. | no | Github Actions Bot |
Outputs
no outputs