tests: add base tests
This commit is contained in:
parent
4c534de47b
commit
9893d36be3
23 changed files with 353 additions and 206 deletions
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue