diff options
author | Daniel <mail@danielkesselberg.de> | 2022-06-14 12:34:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 12:34:55 +0200 |
commit | ad10cd5f65fc145889bade0a57a910502cd02750 (patch) | |
tree | 5b544d099be2dfea7f5c13c8f71114741b41dbb5 | |
parent | 752277925159685fe2430011e4b74546f1aa296c (diff) | |
parent | 17a12bf617031c23d2659e3e475bb5258ffe5cb8 (diff) | |
download | nextcloud-server-ad10cd5f65fc145889bade0a57a910502cd02750.tar.gz nextcloud-server-ad10cd5f65fc145889bade0a57a910502cd02750.zip |
Merge pull request #32813 from nextcloud/debt/noid/check-for-3rdparty-updates
Run php tests when 3rdparty changed
-rwxr-xr-x | tests/drone-run-php-tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/drone-run-php-tests.sh b/tests/drone-run-php-tests.sh index c51117a21d2..ff4737b77a0 100755 --- a/tests/drone-run-php-tests.sh +++ b/tests/drone-run-php-tests.sh @@ -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 |