Enable focused tests as repository pre-commit hook

This commit is contained in:
Frank
2026-08-25 16:18:01 -07:00
parent 63ff1b6b43
commit 8c8c3f7cd0
4 changed files with 24 additions and 5 deletions
+3
View File
@@ -76,6 +76,9 @@ for path in "${CHANGED[@]}"; do
tests/helpers.bash|tests/run.sh)
die "$path is shared test infrastructure; run ./tests/run.sh explicitly"
;;
.githooks/*)
add_test tests/changed_tests.bats
;;
dankserver/compose.yaml|dankclaw/compose.yaml)
add_test tests/compose_validity.bats
add_test tests/env_consistency.bats