Add support for passing arguments to pytest

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-12-14 10:00:53 -03:00
commit 599bf44f08

View file

@ -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