From 7e51bdfc5519185128528112e9444a1e2d2adce4 Mon Sep 17 00:00:00 2001 From: Renn F Date: Wed, 21 Oct 2026 09:59:40 +0200 Subject: [PATCH] fix(make): add the local-test target the docs point to --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index edd26f81..3e9b144a 100644 --- a/Makefile +++ b/Makefile @@ -158,6 +158,13 @@ analysis: deptry semgrep check-all: lint security quality analysis @echo "All checks completed." +# Local test +.PHONY: local-test +local-test: + @REDIS_URL=$${REDIS_URL:-redis://localhost:6379} \ + uv run pytest -v --cov=guard --cov-report=term-missing + @find . | grep -E "(__pycache__|\\.pyc|\\.pyo|\\.pytest_cache|\\.ruff_cache|\\.mypy_cache)" | xargs rm -rf + # Run tests (default Python version) .PHONY: test test: