Add pre-commit hook enforcing 30s test suite time limit (#132)

This commit is contained in:
Alexander Whitestone
2026-03-05 19:45:38 -05:00
committed by GitHub
parent aff3edb06a
commit 2b97da9e9c
65 changed files with 356 additions and 611 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: install install-bigbrain dev nuke fresh test test-cov test-cov-html watch lint clean help \
.PHONY: install install-bigbrain install-hooks dev nuke fresh test test-cov test-cov-html watch lint clean help \
up down logs \
docker-build docker-up docker-down docker-agent docker-logs docker-shell \
test-docker test-docker-cov test-docker-functional test-docker-build test-docker-down \
@@ -16,6 +16,11 @@ install:
poetry install --with dev
@echo "✓ Ready. Run 'make dev' to start the dashboard."
install-hooks:
cp scripts/pre-commit-hook.sh .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
@echo "✓ Pre-commit hook installed (30s test time limit)."
install-bigbrain:
poetry install --with dev --extras bigbrain
@if [ "$$(uname -m)" = "arm64" ] && [ "$$(uname -s)" = "Darwin" ]; then \