GRM-56: fix: close CI gaps with workflow dry-run, automated configure_repo, aligned timeouts
This commit is contained in:
+3
-2
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# pre-commit hook: fail if unit tests take longer than 2 seconds.
|
||||
# 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 scripts/check_test_speed.py
|
||||
python3 scripts/check_test_speed.py --max-seconds 10
|
||||
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# pre-push hook: fail if unit tests take longer than 2 seconds.
|
||||
# pre-push hook: fail if unit tests take longer than 10 seconds.
|
||||
# Aligned with CI timeout (ci.yml uses --max-seconds 10).
|
||||
set -e
|
||||
python3 scripts/check_test_speed.py
|
||||
python3 scripts/check_test_speed.py --max-seconds 10
|
||||
|
||||
Reference in New Issue
Block a user