vatsaljagani/GitHub Action to add for Pytest and Pytest Coverage Report in GitHub Action Summary
GitHub action will generate Action's Job Summary report with Pytest details and Pytest-Coverage details.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pytest_results_file | Path for pytest results file. This has to be a pytest results file in XML format. | yes | — |
| pytest_cov_file | Path for pytest-coverage report file. This has to be a pytest coverage report file in XML format. | no | NONE |
| pytest_results_add_to_job_summary | Add pytest results to GitHub Action's Job Summary | no | true |
| pytest_cov_add_to_job_summary | Add pytest-coverage report to GitHub Action's Job Summary | no | true |
| pytest_cov_failure_threshold | Fail the coverage report if coverage percentage is below this threshold. | no | 70 |
| show_passing_test_cases | Enable this input parameter if you wish to show list of all test-cases which has passed. | no | false |
Outputs
| name | description |
|---|---|
| stdout | Program stdout |
| stderr | Program stderr |
| error | A string of 'true' or 'false' that tells if there were errors. |