From e1fc0ed13ae79e653f4092b8b5f74f01988fd727 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 27 Nov 2019 21:32:17 +0100 Subject: [PATCH] One more makefile test target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 548d96c..533b019 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,11 @@ fast-test: python3 setup.py build_ext -i python3 -m pytest tests -v +ci: + while inotifywait -e CLOSE_WRITE tests/test_*.py; do \ + python3 -m pytest tests; \ + done + coverage: $(MAKE) clean $(MAKE) test CFLAGS="-coverage" @@ -69,4 +74,4 @@ clean: rm -f *.so rm -rf build -.PHONY: doc test clean dist coverage +.PHONY: doc test clean dist coverage ci -- 2.39.5