From ec79eb6a1ec8820b402a01a72a8098b4a675f796 Mon Sep 17 00:00:00 2001 From: LAMRINI Houda <houda.lamrini@etu.univ-amu.fr> Date: Sun, 9 Mar 2025 11:32:37 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7b92b3..631e597 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: -- GitLab