aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc47e64..8a99741 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
SRC=$(wildcard *.py)
+PYTESTS := minimize.py
.PHONY: check
check: check-pylint check-format check-mypy
@@ -19,6 +20,11 @@ check-mypy:
format:
yapf -i $(SRC)
-.PHONY: test
-test:
+.PHONY: test unittests pytest
+test: unittests pytest
+
+pytest:
+ pytest $(PYTESTS)
+
+unittests:
python3 test.py