Skip to content

Commit

Permalink
Allow running tests with pytest-3
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Jul 10, 2024
1 parent 31501a8 commit c5cfc0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PYTEST = $(shell which pytest pytest-3 )

.PHONY: clean publish test docs

dist:
Expand All @@ -7,7 +9,7 @@ publish :
twine upload dist/*.tar.gz dist/*.whl

test:
pytest -v
test -e "$(PYTEST)" && $(PYTEST) -v # run pytest if found
flake8
vermin toot

Expand Down

0 comments on commit c5cfc0c

Please sign in to comment.