Skip to content

Commit

Permalink
Merge pull request #55 from geoadmin/feat-coverage-report
Browse files Browse the repository at this point in the history
Add coverage report
  • Loading branch information
msom authored Dec 18, 2024
2 parents e40acd1 + facf2b5 commit 9ffabdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ var/

# Coverage
.coverage
coverage.lcov
htmlcov/
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ffabdd

Please sign in to comment.