tests: move testing stuff into its own directory

This commit is contained in:
bronsen 2026-05-14 00:57:28 +02:00
parent 6029184f22
commit 9098ed05f1
4 changed files with 12 additions and 6 deletions

View file

@ -44,14 +44,14 @@ exports-deps:
# Run tests, ARGS are passed-through to pytest
test *ARGS:
{{ uv }} run pytest tests.py -m "not final" {{ ARGS }}
{{ uv }} run pytest -m "not final" {{ ARGS }}
alltests *ARGS:
{{ uv }} run pytest tests.py {{ ARGS }}
{{ uv }} run pytest {{ ARGS }}
# run tests and create coverage reports
coverage:
{{ uv }} run pytest tests.py -m "not final" --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config {{ pyproject }}
{{ uv }} run pytest -m "not final" --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config {{ pyproject }}
# lint python, markdown, wheel file names, prek config
lint: