Add tests command to run unittests
This commit is contained in:
parent
692f9a004c
commit
0fe4b4f8b6
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user