We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e96b08 commit 7eb307cCopy full SHA for 7eb307c
1 file changed
Makefile.jinja
@@ -19,6 +19,11 @@ install: check ## Install project dependencies
19
20
{% if "pytest" in dev_deps -%}
21
test: ## Run all unit tests
22
+ @set -eu; \
23
+ if [[ ! -d ".venv" ]]; then \
24
+ printf "ERROR: .venv not found — run 'make install' first\n" >&2; \
25
+ exit 1; \
26
+ fi; \
27
@uv run pytest tests/unit/
28
{% endif -%}
29
0 commit comments