From 01332edb76b296512142e8260b2b111c849ea737 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 11 Oct 2022 22:53:29 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0d3f87..be2eeff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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