configure coverage testing and reports

This commit is contained in:
bronsen 2025-12-09 21:24:08 +01:00
parent 6c6ca0e997
commit a9bf9d0628
3 changed files with 14 additions and 1 deletions

View file

@ -3,6 +3,12 @@ exports-deps:
uv export {{ uv_export_options }} --output-file requirements.txt
uv export {{ uv_export_options }} --only-dev --output-file requirements.dev.txt
test:
uv run pytest tests.py
coverage:
uv run pytest tests.py --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config pyproject.toml
lint-python:
uv run ruff check .