Add tests command to run unittests
This commit is contained in:
4
Makefile
4
Makefile
@@ -17,6 +17,10 @@ help:
|
||||
docs: print-env
|
||||
@${MKDOCS} ${MKDOCS_OPTION} -f docs/mkdocs.yml
|
||||
|
||||
.PHONY: tests #: Run unit tests.
|
||||
tests:
|
||||
@${UNITTEST} discover -s tests
|
||||
|
||||
.PHONY: notebooks #: Run jupyter notebooks.
|
||||
notebooks:
|
||||
@${JUPYTER} ${JUPYTER_OPTION}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
POETRY=poetry
|
||||
MKDOCS=mkdocs
|
||||
JUPYTER=jupyter
|
||||
UNITTEST=python -m unittest
|
||||
|
||||
## Ankisyncd
|
||||
ANKISYNCD_HOST=0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user