jasonmiller-cc/Python Unit Testing
A GitHub Action to run Python tests using pytest and optionally commit the badges to the repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| python-version | Python version to use for testing. If not specified, uses the default Python available on the runner. | no | 3.x |
| requirements-file | Path to a requirements file to install before testing. If not specified, only detected test frameworks will be installed. | no | requirements.txt |
| pytest-options | Options to pass to pytest if detected. | no | "" |
| commit-badges | Generate SVG badges for test results and commit them to the repository. | no | false |
| badges-directory | Directory where badge SVG files will be saved (relative to repository root). | no | .github/badges |
Outputs
no outputs