We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a97f1d commit b7e1468Copy full SHA for b7e1468
hooks/pre-push
@@ -0,0 +1,17 @@
1
+#!/bin/sh
2
+
3
+# * Commit parameters
4
+# Unused now, but good for future reference. See man 5 githooks.
5
6
+remote="$1"
7
+url="$2"
8
9
+read local_ref local_sha remote_ref remote_sha
10
11
+# * Run tests
12
13
+# Not using sandbox and auto-install, because "git push" shouldn't
14
+# cause remote code to be downloaded and executed (i.e. what would
15
+# happen by installing packages). It can be done manually when needed.
16
17
+make test
0 commit comments