Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 16:31:38 +00:00
parent 52ddc53769
commit ad83994eab
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ test-job: # This job runs in the test stage.
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep zone) files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep zone)
fi fi
if [ -z "$files" ]; then if [ -z "$files" ]; then
echo "Pas de fichier de zone à tester" echo "Pas de fichier de zone à tester" && exit 1
exit 1
fi fi
- echo "Test des zones $files." - echo "Test des zones $files."