feat: add coverage to makefile
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user