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

update python_install README.md

parent 4d44e7af
No related branches found
No related tags found
No related merge requests found
Pipeline #22162 failed
...@@ -23,18 +23,18 @@ consistent configuration across CI jobs that rely on a python environment. ...@@ -23,18 +23,18 @@ consistent configuration across CI jobs that rely on a python environment.
## ##
```yml ```yaml
include: include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@1.0.0.yaml' # Include the python_install job template (don't forget to replace the version tag)
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@1.0.0.yaml'
flake8: flake8:
extend: python_install extends:
- .python_install # extends the python_install job template
stage: code_quality stage: code_quality
variables: variables:
PROJECT_PATH: "." PYTHON_SETUP: "pip install flake8" # override the default PYTHON_SETUP variable
IMAGE_TAG: "3.10"
PYTHON_SETUP: "pip install ${PROJECT_PATH}[CODE_QUALITY]"
script: script:
python_install - !reference [.python_install, script] # reuse the script from the python_install job template
- flake8 ${PROJECT_PATH} -v - flake8 ${PROJECT_PATH} -v
``` ```
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