just: allow passing args to pytest

This commit is contained in:
bronsen 2026-02-14 18:56:30 +01:00
parent d6bcb90431
commit de0cd8034a

View file

@ -21,8 +21,8 @@ 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
test *ARGS:
uv run pytest tests.py {{ ARGS }}
coverage:
uv run pytest tests.py --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config pyproject.toml