Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Run php tests when 3rdparty changed
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb authored and backportbot-nextcloud[bot] committed Jun 14, 2022
commit 873eec289cf338059fed2c3cd609c8c5c5ef33c1
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