diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -12,7 +12,12 @@ lint: pycodestyle ickapi pylint -j0 -d missing-docstring ickapi -test: lint +apitest: + gunicorn --config gunicorn.conf ickapi.main:app > /dev/null 2>&1 & + pytest --rootdir=apitest || true + pkill -F ickapi.pid + +test: lint apitest run: gunicorn --config gunicorn.conf --reload ickapi.main:app @@ -25,4 +30,4 @@ clean: reset: clean rm -rf env/ -.PHONY: all env lint test run clean reset +.PHONY: all env lint apitest test run clean reset |