Files
grm/hooks/pre-push
T

5 lines
127 B
Bash
Executable File

#!/usr/bin/env bash
# pre-push hook: fail if unit tests take longer than 2 seconds.
set -e
python3 scripts/check_test_speed.py