Add tests command to run unittests

This commit is contained in:
Vikash Kothary 2020-12-23 23:24:07 +00:00
parent 692f9a004c
commit 0fe4b4f8b6
2 changed files with 5 additions and 0 deletions

View File

@ -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}

View File

@ -4,6 +4,7 @@
POETRY=poetry
MKDOCS=mkdocs
JUPYTER=jupyter
UNITTEST=python -m unittest
## Ankisyncd
ANKISYNCD_HOST=0.0.0.0