Browse Source

Run php tests when 3rdparty changed

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/32813/head
Daniel Kesselberg 4 years ago
parent
commit
17a12bf617
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 2
      tests/drone-run-php-tests.sh

2
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
Loading…
Cancel
Save