Skip to content

Commit

Permalink
Run php tests when 3rdparty changed
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb authored and backportbot-nextcloud[bot] committed Jun 14, 2022
1 parent 64fdc48 commit 70a127a
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 70a127a

Please sign in to comment.