6 lines
208 B
Bash
Executable File
6 lines
208 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# pre-commit hook: fail if unit tests take longer than 10 seconds.
|
|
# Aligned with CI timeout (ci.yml uses --max-seconds 10).
|
|
set -e
|
|
python3 -m devx.tools.check_test_speed --max-seconds 10
|