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

python_install minimal script

parent 35a6ecd2
No related branches found
No related tags found
No related merge requests found
python_install:
image: python:${IMAGE_TAG}
stage: ${ENV_SETUP}
variables:
PYTHON_SETUP: "pip install .[TESTS]"
IMAGE_TAG: "latest"
STAGE: "env_setup"
script:
- python --version # Debug
- python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9
- source venv/bin/activate
- ${PYTHON_SETUP}
- pytest
only:
changes:
- ./**/*.py
- .gitlab-ci.yml
- pyproject.toml
.python_install: &python_install
- python --version # Debug
- python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9
- source venv/bin/activate
- ${PYTHON_SETUP}
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