From a8371ae072d065a382384a59cf95e928bdf62909 Mon Sep 17 00:00:00 2001 From: Christoph Alt <christoph.alt@fau.de> Date: Thu, 3 Nov 2022 16:53:17 +0100 Subject: [PATCH] added hooks --- .hooks/pre-push | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .hooks/pre-push diff --git a/.hooks/pre-push b/.hooks/pre-push new file mode 100755 index 0000000..fe53a78 --- /dev/null +++ b/.hooks/pre-push @@ -0,0 +1,4 @@ +#!/bin/sh + +command -v pytest > /dev/null && pytest || echo "Did not found pytest pushing untestet" +exit 0 -- GitLab