lfreleng-actions/๐งช Python Test
Test a Python Project, generate coverage report
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- None
Pinned Snippet
uses: lfreleng-actions/python-test-action@4129c285f63e4d004b9e615b881f44cd63ba5f45 # v1.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| python_version | Python version used to run test | yes | โ |
| editable | Install Python package in editable mode | no | false |
| permit_fail | Continue even when one or more tests fails | no | false |
| report_artefact | Uploads test/coverage report bundle as artefact | no | true |
| artefact_name | Custom name for uploaded artefact (to avoid conflicts) | no | โ |
| path_prefix | Directory location containing Python project code | no | . |
| tests_path | Path relative to the project folder containing tests | no | โ |
| tox_tests | Uses tox to perform tests | no | false |
| tox_envs | Space separated list of tox environments to run | no | โ |
| github_token | GitHub token for API access during tests | no | โ |
| pytest_args | Additional pytest arguments (e.g., -n0 for serial execution) | no | "" |
Outputs
no outputs