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
|
docs: print-env
|
||||||
@${MKDOCS} ${MKDOCS_OPTION} -f docs/mkdocs.yml
|
@${MKDOCS} ${MKDOCS_OPTION} -f docs/mkdocs.yml
|
||||||
|
|
||||||
|
.PHONY: tests #: Run unit tests.
|
||||||
|
tests:
|
||||||
|
@${UNITTEST} discover -s tests
|
||||||
|
|
||||||
.PHONY: notebooks #: Run jupyter notebooks.
|
.PHONY: notebooks #: Run jupyter notebooks.
|
||||||
notebooks:
|
notebooks:
|
||||||
@${JUPYTER} ${JUPYTER_OPTION}
|
@${JUPYTER} ${JUPYTER_OPTION}
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
POETRY=poetry
|
POETRY=poetry
|
||||||
MKDOCS=mkdocs
|
MKDOCS=mkdocs
|
||||||
JUPYTER=jupyter
|
JUPYTER=jupyter
|
||||||
|
UNITTEST=python -m unittest
|
||||||
|
|
||||||
## Ankisyncd
|
## Ankisyncd
|
||||||
ANKISYNCD_HOST=0.0.0.0
|
ANKISYNCD_HOST=0.0.0.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user