bricklanetech/Run tests with PyTest
Unit test with PyTest and publish results
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source | The directory where the python source code is located, defaults to current directory. | no | . |
| configuration | File path to the pytest configuration file (.ini). | no | "" |
| testFolder | The directory where the tests are located (from the source path), if targetting a specific folder | no | "" |
| args | Additional arguments to pass to pytest. | no | "" |
| outputFile | The file to write the test results to. | no | ${{ github.workspace }}/test-results/results.xml |
| publish | Whether to publish the test results. | no | true |
| githubToken | The GitHub token to use for checkouting and publishing the test results. | yes | "" |
| pythonVersion | The python version to use. | no | 3.9 |
Outputs
no outputs