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
pytest.yml 445 B
Newer Older
Karine Bauch's avatar
Karine Bauch committed
spec:
    inputs:
        stage:
            description: "The stage of the job."
Karine Bauch's avatar
Karine Bauch committed
            default: test
        project_path:
            description: "The path to the project root directory."
Karine Bauch's avatar
Karine Bauch committed
---
    image: swepy/pytest:latest
Karine Bauch's avatar
Karine Bauch committed
        PROJECT_PATH: $[[ inputs.project_path ]]
        PYTEST_OPTIONS: ""
Karine Bauch's avatar
Karine Bauch committed
    stage: $[[ inputs.stage ]]
        - pytest $PYTEST_OPTIONS $PROJECT_PATH