Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-11 22:53:29 +00:00
parent 738a4e8380
commit 01332edb76
1 changed files with 1 additions and 2 deletions

View File

@ -25,11 +25,10 @@ test-job: # This job runs in the test stage.
script:
- |+
echo Recherche de zones à tester
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
if [[ ! -z "$CI_RELOAD" || "$files" =~ .*"gitlab-ci.yml".* ]]
then
files=$(find . -name "*.zone" -printf "%P ")
else
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
fi
if [[ "$files" =~ .*"zone".* ]]
then