From 52f70d356cf1c8fe000f0bcc55123d61534f593d Mon Sep 17 00:00:00 2001 From: Stijnvandenbroek Date: Wed, 11 Mar 2026 13:08:49 +0000 Subject: [PATCH] feat: add coverage to makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 103dcae..88099b1 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ dagster-dev \ lint lint-fix lint-python lint-sql lint-format \ pre-commit pre-commit-install \ - test clean + test coverage clean # Default Docker Compose project containers COMPOSE := docker compose @@ -119,6 +119,9 @@ validate: ## Validate Dagster definitions load without errors test: ## Run pytest uv run pytest +coverage: ## Run pytest with coverage report + uv run pytest tests/ --cov=data_platform --cov-report=term-missing + ## Misc clean: ## Remove Python caches and build artefacts find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true