actions-marketplace-validations/Run tests with PyTest

Run testing using pytest. Results are published as artifacts.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 17, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/pyrunit_pytest-action@36ed68448fd62b513ffb24dc2439caadd8e1ebd0 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
sourceDirectory where the source code is located. Defaults to current directory.yes.
configurationPyTest configuration file path (.ini).no""
useCondaIndicates if the tests will run using an specific conda environment.nofalse
condaEnvNameName of the conda environment to use. Required if useConda is true.no""
testFolderFolder where test are placed. Defaults to tests.yestests
versionPyTest library version.yes6.2.5
argsParameters, if any, to provide to the test. Provide them starting with -q, for instance `-q --param1=value1 --param2=value2`no""
outputFileFile name where the results will be generated. File is XML.no${{ github.workspace }}/test-results/results.xml

no outputs