home · contact · privacy
Disallow commit without at least passing unit tests.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 10 Feb 2025 15:22:26 +0000 (16:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 10 Feb 2025 15:22:26 +0000 (16:22 +0100)
scripts/pre-commit

index 414cb517c9d7daee201bec91789dc37be7f28e75..532f2dd180913a9c0d4f0ba897be5f25cd8fe84b 100755 (executable)
@@ -8,4 +8,5 @@ for dir in $DIRS; do
     done
 done
 echo "Running unittest-parallel on tests/."
+set -e
 unittest-parallel -t . -s tests/ -p '*.py'