sambyeol/publish-pytest-action
Publishing pytest result Github Action to comment on PR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token used to create an authenticated client | no | ${{ github.token }} |
| title | title of the comment | no | Pytest Report |
| junit-xml | path to junit xml file | yes | — |
| coverage-xml | path to coverage xml file | no | — |
| comment-identifier | A unique identifier for the comment, typically derived from matrix variables (e.g., `py\$\{\{ matrix.python-version \}\}-\$\{\{ matrix.os \}\}`). Used to ensure `comment-mode` (`update`, `hide`, `delete`) targets only comments from the same job or matrix configuration. | no | "" |
| comment-mode | How to handle previous comments from this action. - `update`: Update the previous comment. - `hide`: Hide previous comments. - `delete`: Delete previous comments. - `new`: Create a new comment. | no | new |
Outputs
| name | description |
|---|---|
| failed | failed test count |
| coverage | coverage percentage |