diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7b92b3e18a29b6cc2dff1cb693d993bd43d6fec..631e5979ea49861d83df85c2fc288e113ce5a9fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,11 @@ test: stage: test image: python:3.8 script: - - pip install flask # Installer Flask - - pip install pytest # Installer pytest si ce n'est pas déjà fait - - pytest # Exécute pytest pour détecter et exécuter tous les tests + - pip install flask + - pip install pytest + - pytest -# Job de construction de l'image Docker build: stage: build_stage script: @@ -21,7 +20,6 @@ build: - docker --version - docker build -t pyapp . -# Job de déploiement de l'image Docker deploy: stage: deploy_stage script: