Public Access
Post-merge / detect-type (push) Successful in 17s
Post-merge / validate-commit-msg (push) Successful in 16s
Post-merge / vikunja (push) Successful in 12s
Post-merge / configure-repo (push) Failing after 13s
Post-merge / release (push) Failing after 1m5s
Post-merge / sync-wiki (push) Successful in 1m2s
Post-merge / badges (push) Failing after 28s
7 lines
230 B
Bash
Executable File
7 lines
230 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
|
|
export PYTHONPATH=src
|
|
python3 -m devx.tools.check_test_speed --max-seconds 10
|