Merge pull request #32871 from nextcloud/backport/32813/stable23

[stable23] Run php tests when 3rdparty changed
This commit is contained in:
blizzz 2022-06-21 18:53:18 +02:00 committed by GitHub
commit e7e782b831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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