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
Commit 5300aa79 authored by Karine Bauch's avatar Karine Bauch
Browse files

update with inputs use

parent f4803642
No related branches found
No related tags found
1 merge request!10.1.0
......@@ -3,10 +3,8 @@ include:
- project: 'beebryte/cicd/templates/pytest'
ref: '$CI_COMMIT_BRANCH$CI_COMMIT_TAG'
file: 'templates/pytest.yml'
pytest:
variables:
PROJECT_PATH: "tests/passing_test"
inputs:
project_path: 'tests/passing_test'
"failing pytest":
extends: pytest
......
spec:
inputs:
stage:
default: test
project_path:
default: '.'
pytest_cmd:
default: 'pytest $PROJECT_PATH'
---
pytest:
image: swepy/pytest:latest
variables:
PROJECT_PATH: '.'
PYTEST_CMD: 'pytest $PROJECT_PATH'
stage: test
PROJECT_PATH: $[[ inputs.project_path ]]
PYTEST_CMD: $[[ inputs.pytest_cmd ]]
stage: $[[ inputs.stage ]]
script:
- $PYTEST_CMD
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment