Skip to content
Snippets Groups Projects
Commit ec79eb6a authored by LAMRINI Houda's avatar LAMRINI Houda
Browse files

Update .gitlab-ci.yml file

parent 2c46daec
No related branches found
No related tags found
No related merge requests found
Pipeline #47520 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment