lfreleng-actions/๐Ÿงช Python Test

Test a Python Project, generate coverage report

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/python-test-action@4129c285f63e4d004b9e615b881f44cd63ba5f45 # v1.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
python_versionPython version used to run testyesโ€”
editableInstall Python package in editable modenofalse
permit_failContinue even when one or more tests failsnofalse
report_artefactUploads test/coverage report bundle as artefactnotrue
artefact_nameCustom name for uploaded artefact (to avoid conflicts)noโ€”
path_prefixDirectory location containing Python project codeno.
tests_pathPath relative to the project folder containing testsnoโ€”
tox_testsUses tox to perform testsnofalse
tox_envsSpace separated list of tox environments to runnoโ€”
github_tokenGitHub token for API access during testsnoโ€”
pytest_argsAdditional pytest arguments (e.g., -n0 for serial execution)no""

no outputs