]> source.dussan.org Git - nextcloud-server.git/commitdiff
Run php tests when 3rdparty changed 32813/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 10 Jun 2022 12:13:57 +0000 (14:13 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 10 Jun 2022 12:20:43 +0000 (14:20 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tests/drone-run-php-tests.sh

index c51117a21d28715d510047a89d4bd059d1186ca5..ff4737b77a0c5e58a5c1f2b2074d765a91e92492 100755 (executable)
@@ -22,4 +22,6 @@ echo "========================="
 
 [[ $(git diff --name-only origin/$DRONE_TARGET_BRANCH...$DRONE_COMMIT_SHA | grep -c "/tests/") -gt 0 ]] && echo "PHP test files of an app are modified" && exit 0
 
+[[ $(git diff --name-only origin/$DRONE_TARGET_BRANCH...$DRONE_COMMIT_SHA | grep -c "3rdparty") -gt 0 ]] && echo "3rdparty is modified" && exit 0
+
 exit 1