tests: add base tests

This commit is contained in:
cătălin 2024-12-18 18:27:46 +01:00
commit 9893d36be3
No known key found for this signature in database
23 changed files with 353 additions and 206 deletions

View file

@ -5,9 +5,13 @@ PROJECT_TARGET := "serve"
fmt:
uvx pre-commit run --all-files --color always
fmt--mypy:
uvx pre-commit run --all-files --color always mypy
.PHONY: tests
tests:
uv run pytest --cov=halig -vv tests --report-log reportlog.json
uv run pytest --cov=src -vv tests
uv run coverage html
uv run coverage xml