diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-10 14:13:57 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-10 14:20:43 +0200 |
commit | 17a12bf617031c23d2659e3e475bb5258ffe5cb8 (patch) | |
tree | c2f45c4f4053acab82ce16084bbab262f2fdb562 /tests/drone-run-php-tests.sh | |
parent | bea755f1539e8c918b63347e5ff104f154c99b5c (diff) | |
download | nextcloud-server-17a12bf617031c23d2659e3e475bb5258ffe5cb8.tar.gz nextcloud-server-17a12bf617031c23d2659e3e475bb5258ffe5cb8.zip |
Run php tests when 3rdparty changed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/drone-run-php-tests.sh')
-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 |