Skip to content

Commit

Permalink
Merge pull request #32871 from nextcloud/backport/32813/stable23
Browse files Browse the repository at this point in the history
[stable23] Run php tests when 3rdparty changed
  • Loading branch information
blizzz authored Jun 21, 2022
2 parents f7d731a + 70a127a commit e7e782b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/drone-run-php-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e7e782b

Please sign in to comment.