diff --git a/Makefile b/Makefile index fea27e8..4bdcb67 100644 --- a/Makefile +++ b/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} diff --git a/config/.env.example b/config/.env.example index b254545..9a8d79a 100644 --- a/config/.env.example +++ b/config/.env.example @@ -4,6 +4,7 @@ POETRY=poetry MKDOCS=mkdocs JUPYTER=jupyter +UNITTEST=python -m unittest ## Ankisyncd ANKISYNCD_HOST=0.0.0.0