Add support for passing arguments to pytest
This commit is contained in:
parent
7ec8a6c2a8
commit
599bf44f08
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -18,9 +18,12 @@ coverage:
|
|||
--cov-report xml \
|
||||
--cov-report term-missing:skip-covered
|
||||
|
||||
# allow passing arguments to pytest
|
||||
tests:
|
||||
@make install_backend
|
||||
poetry run pytest tests --instafail
|
||||
|
||||
poetry run pytest tests --instafail $(args)
|
||||
# Use like:
|
||||
|
||||
format:
|
||||
poetry run ruff . --fix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue