Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 16:09:20 +00:00
parent ac86615b77
commit 862527d60d
1 changed files with 3 additions and 6 deletions

View File

@ -23,13 +23,10 @@ stages: # List of stages for jobs, and their order of execution
test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests... This will take about 60 seconds."
- sleep 60
- echo "Code coverage is 90%"
- echo "Test des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)."
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
environment: production
script:
- echo "Deploying application..."
- echo "Application successfully deployed."
- echo "Déploiement des zones $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)..."
- echo "Déploiement terminé."