Skip to content

Commit

Permalink
Merge pull request #20 from takuyaa/pytest-opts
Browse files Browse the repository at this point in the history
Enable to provide pytest options for the `make test` task using environment variable `PYTEST_OPTS`
  • Loading branch information
takuyaa authored Jan 11, 2024
2 parents a2d71ee + 1ffdde9 commit 5ce2e24
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,6 +1,8 @@
PYTEST_OPTS := tests

.PHONY: test
test:
@poetry run pytest tests
@poetry run pytest $(PYTEST_OPTS)

.PHONY: lint
lint:
Expand Down

0 comments on commit 5ce2e24

Please sign in to comment.