You need to sign in or sign up before continuing.
Commit 4b445377 authored by Eric Duminil's avatar Eric Duminil
Browse files

Adding makefile coverage

parent c3aa78f0
...@@ -8,6 +8,10 @@ help: ## Show this help. ...@@ -8,6 +8,10 @@ help: ## Show this help.
tests: ## Run detailed tests tests: ## Run detailed tests
uv run pytest -v uv run pytest -v
coverage: ## Run tests, and save coverage
uv run pytest --cov --cov-report=html:coverage
gio open coverage/index.html
simple_tests: ## Run simple tests, without running SimStadt simple_tests: ## Run simple tests, without running SimStadt
uv run pytest -v -m "not live" uv run pytest -v -m "not live"
...@@ -43,4 +47,4 @@ _upload: ...@@ -43,4 +47,4 @@ _upload:
install_editable: ## Install package in dev mode install_editable: ## Install package in dev mode
pip install -e . pip install -e .
.PHONY: help tests simstadt build .PHONY: help tests simstadt build coverage
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment