Skip to content

Commit

Permalink
Ensure tests run from makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
GjjvdBurg committed Mar 27, 2021
1 parent d90d9f6 commit d693199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dist: ## Make Python source distribution
.PHONY: test

test: venv ## Run unit tests
source $(VENV_DIR)/bin/activate && python -m pytest -v . --cov readabilipy --cov-report term-missing --benchmark-disable
source $(VENV_DIR)/bin/activate && cd $(TEST_DIR) && python -m pytest -v . --cov readabilipy --cov-report term-missing --benchmark-disable
source $(VENV_DIR)/bin/activate && pyflakes *.py readabilipy $(TEST_DIR)
source $(VENV_DIR)/bin/activate && pycodestyle --statistics --ignore=E501 --count *.py readabilipy $(TEST_DIR)
source $(VENV_DIR)/bin/activate && pylint readabilipy $(TEST_DIR)/*.py
Expand Down

0 comments on commit d693199

Please sign in to comment.