From facf2b525c8c9af293afae5a8f835c4687b550c5 Mon Sep 17 00:00:00 2001 From: Marc Sommerhalder Date: Mon, 16 Dec 2024 07:06:02 +0100 Subject: [PATCH] Add coverage report --- .gitignore | 1 + Makefile | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d2a194f..ae6a6a6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ var/ # Coverage .coverage +coverage.lcov htmlcov/ diff --git a/Makefile b/Makefile index c4581ed..1b1bc9f 100644 --- a/Makefile +++ b/Makefile @@ -148,9 +148,13 @@ type-check: ## Run the type-checker mypy start-local-db: ## Run the local db as docker container docker compose up -d +.PHONY: test-ci +test-ci: ## Run tests in the CI + $(TEST) --cov --cov-report=lcov + .PHONY: test test: ## Run tests locally - $(TEST) + $(TEST) --cov --cov-report=html .PHONY: setup-bod setup-bod: ## Set up the bod locally