aboutsummaryrefslogtreecommitdiff
path: root/scripts/pre-push-hook.sh
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-01-09 15:16:51 +0530
committerGitHub <noreply@github.com>2022-01-09 09:46:51 +0000
commit6c6ade85a8696142b5fc13df9034f73b4089c912 (patch)
tree11ed192fcbbb4554b60cad8551dfd7d6ff0e1e89 /scripts/pre-push-hook.sh
parent910212b3ae66cd7611c2fc79cc9e5fb2ce7826ff (diff)
pre-push-hook: run tests on push (#1653)
Diffstat (limited to 'scripts/pre-push-hook.sh')
-rw-r--r--scripts/pre-push-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pre-push-hook.sh b/scripts/pre-push-hook.sh
index e9b29f92..651bc85b 100644
--- a/scripts/pre-push-hook.sh
+++ b/scripts/pre-push-hook.sh
@@ -9,6 +9,6 @@ GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}"
while read local_ref local_oid remote_ref remote_oid; do
if [ "${local_oid}" != "${ZERO}" ]; then
- "${GRADLE_EXEC}" spotlessCheck apiCheck
+ "${GRADLE_EXEC}" spotlessCheck apiCheck test -PslimTests
fi
done