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 7e800228 authored by Dorian Turba's avatar Dorian Turba
Browse files

update black, isort and pytest .yml

parent c8322c89
No related branches found
No related tags found
No related merge requests found
Pipeline #23641 passed
......@@ -2,11 +2,10 @@ include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/r2_metadata/python_install@latest.yaml'
black:
image: python:${IMAGE_TAG}
extends:
- .python_install
stage: code_quality
variables:
IMAGE_TAG: !reference [.python_install, variables, IMAGE_TAG]
PROJECT_PATH: "."
PYTHON_SETUP: "pip install black"
script:
- !reference [.python_install, script]
......
......@@ -2,11 +2,10 @@ include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/r2_metadata/python_install@latest.yaml'
isort:
image: python:${IMAGE_TAG}
extends:
- .python_install
stage: code_quality
variables:
IMAGE_TAG: !reference [.python_install, variables, IMAGE_TAG]
PROJECT_PATH: "."
PYTHON_SETUP: "pip install isort"
script:
- !reference [.python_install, script]
......
......@@ -2,11 +2,10 @@ include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/r2_metadata/python_install@latest.yaml'
pytest:
image: python:${IMAGE_TAG}
extends:
- .python_install
stage: test
variables:
IMAGE_TAG: !reference [.python_install, variables, IMAGE_TAG]
PROJECT_PATH: "."
PYTHON_SETUP: "pip install -r ${PROJECT_PATH}/requirements.txt"
PYTEST_RUN_CMD: "pytest ${PROJECT_PATH}"
script:
......
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