Pytest
Objective
This template is for run tests with pytest.
How to use it
Add the following in your .gitlab-ci.yml
file.
include:
- component: $CI_SERVER_FQDN/swepy/cicd-templates/pytest/pytest@0.1.0
Inputs
You can customize the job by overriding specific inputs:
include:
- component: $CI_SERVER_FQDN/swepy/cicd-templates/pytest/pytest/pytest@0.1.0
inputs:
project_path: path/project/to/test
Component inputs:
Name | Description | Default |
---|---|---|
project_path |
The path to the project root directory. | "." |
stage |
The stage of the job. | test |