Skip to content
Snippets Groups Projects
Commit c402963f authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

allow specifying PYTHONPATH for makefile test target

parent bc6f1bc8
No related branches found
No related tags found
1 merge request!74allow specifying PYTHONPATH for makefile test target
ifeq ($(PYTHONPATH),)
PYTHONPATH := src
else
PYTHONPATH := src:$(PYTHONPATH)
endif
export PYTHONPATH
.PHONY: help
help :
@echo
......@@ -11,7 +19,7 @@ help :
.PHONY: test
test :
PYTHONPATH=src pytest -v --cov=sgnts --cov-report=term-missing .
pytest -v --cov=sgnts --cov-report=term-missing .
.PHONY: lint
lint :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment