Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
kbauch's avatar
Karine Bauch authored
439e6003
History

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