actions-marketplace-validations/Run tests with PyTest
Run testing using pytest. Results are published as artifacts.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jul 17, 2022
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/pyrunit_pytest-action@36ed68448fd62b513ffb24dc2439caadd8e1ebd0 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| source | Directory where the source code is located. Defaults to current directory. | yes | . |
| configuration | PyTest configuration file path (.ini). | no | "" |
| useConda | Indicates if the tests will run using an specific conda environment. | no | false |
| condaEnvName | Name of the conda environment to use. Required if useConda is true. | no | "" |
| testFolder | Folder where test are placed. Defaults to tests. | yes | tests |
| version | PyTest library version. | yes | 6.2.5 |
| args | Parameters, if any, to provide to the test. Provide them starting with -q, for instance `-q --param1=value1 --param2=value2` | no | "" |
| outputFile | File name where the results will be generated. File is XML. | no | ${{ github.workspace }}/test-results/results.xml |
Outputs
no outputs