diff mbox series

[bug#74394,2/2] etc: Ensure test suite passes in pre-push git hook.

Message ID 9a35e1aa323f608a2a3e8da1fd23517b3b4a77f1.1731844485.git.maxim.cournoyer@gmail.com
State New
Headers show
Series Skip slow tests by default and run 'check' in Git pre-push hook. | expand

Commit Message

Maxim Cournoyer Nov. 17, 2024, 12:21 p.m. UTC
* etc/git/pre-push: Run 'make check' on as many cores as available, which
takes about 1 minute on a fast machine.

Change-Id: I60e77d18bc885e8013daae70580126465169b1c6
---
 etc/git/pre-push | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/etc/git/pre-push b/etc/git/pre-push
index 325b23854b..74273ee180 100755
--- a/etc/git/pre-push
+++ b/etc/git/pre-push
@@ -33,6 +33,7 @@  do
 		case "$2" in
 		    *.gnu.org*)
 			set -e
+                        make check -j$(nproc)
 			make check-channel-news
 			exec guix git authenticate
 			exit 127