You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv run coverage run -m pytest -n auto --dist=loadgroup --durations=20
55
+
@# To test using a specific version of python, run 'make install-all-python' then set environment variable PYTEST_PYTHON=3.10 or similar
56
+
$(if$(PYTEST_PYTHON),UV_PROJECT_ENVIRONMENT=.venv$(subst .,,$(PYTEST_PYTHON))) uv run $(if$(PYTEST_PYTHON),--python $(PYTEST_PYTHON)) coverage run -m pytest -n auto --dist=loadgroup --durations=20
56
57
@uv run coverage combine
57
58
@uv run coverage report
58
59
@@ -65,13 +66,6 @@ test-all-python: ## Run tests on Python 3.10 to 3.13
65
66
@uv run coverage combine
66
67
@uv run coverage report
67
68
68
-
PYTEST_PYTHON ?= 3.12
69
-
.PHONY: test-specific-python
70
-
test-specific-python: ## Run tests and collect coverage data using a specific python, specified by PYTEST_PYTHON env var
71
-
UV_PROJECT_ENVIRONMENT=.venv$(subst .,,$(PYTEST_PYTHON)) uv run --python $(PYTEST_PYTHON) --all-extras --all-packages coverage run -p -m pytest -n auto --dist=loadgroup --durations=20
72
-
@uv run coverage combine
73
-
@uv run coverage report
74
-
75
69
.PHONY: testcov
76
70
testcov: test ## Run tests and generate an HTML coverage report
0 commit comments