feat: add coverage to makefile

This commit is contained in:
Stijnvandenbroek
2026-03-11 13:08:49 +00:00
parent 55302b37ae
commit 52f70d356c

View File

@@ -4,7 +4,7 @@
dagster-dev \ dagster-dev \
lint lint-fix lint-python lint-sql lint-format \ lint lint-fix lint-python lint-sql lint-format \
pre-commit pre-commit-install \ pre-commit pre-commit-install \
test clean test coverage clean
# Default Docker Compose project containers # Default Docker Compose project containers
COMPOSE := docker compose COMPOSE := docker compose
@@ -119,6 +119,9 @@ validate: ## Validate Dagster definitions load without errors
test: ## Run pytest test: ## Run pytest
uv run pytest uv run pytest
coverage: ## Run pytest with coverage report
uv run pytest tests/ --cov=data_platform --cov-report=term-missing
## Misc ## Misc
clean: ## Remove Python caches and build artefacts clean: ## Remove Python caches and build artefacts
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true