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 570 B
Newer Older
  • Learn to ignore specific revisions
  • 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
                default: '.'
            pytest_cmd:
    
                description: "The command running tests with pytest."
    
    Karine Bauch's avatar
    Karine Bauch committed
                default: 'pytest $PROJECT_PATH'
    
    Karine Bauch's avatar
    Karine Bauch committed
    ---
    
        image: swepy/pytest:latest
    
    Karine Bauch's avatar
    Karine Bauch committed
            PROJECT_PATH: $[[ inputs.project_path ]]
            PYTEST_CMD: $[[ inputs.pytest_cmd ]]
        stage: $[[ inputs.stage ]]