tests: move testing stuff into its own directory
This commit is contained in:
parent
6029184f22
commit
9098ed05f1
4 changed files with 12 additions and 6 deletions
6
justfile
6
justfile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue