diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-21 18:52:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 18:52:44 +0200 |
commit | 1d186d4863229821c6c0a14543698561ff10c4db (patch) | |
tree | c92a1014a2d1a895918cf42fefa40625e4b29ee9 | |
parent | aa8280575a6d3c0a615d8b8cb00244dfaf1e8b5a (diff) | |
parent | 873eec289cf338059fed2c3cd609c8c5c5ef33c1 (diff) | |
download | nextcloud-server-1d186d4863229821c6c0a14543698561ff10c4db.tar.gz nextcloud-server-1d186d4863229821c6c0a14543698561ff10c4db.zip |
Merge pull request #32870 from nextcloud/backport/32813/stable24
[stable24] 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 |