test(worker): setup testing

This commit is contained in:
jo 2022-09-09 11:52:19 +02:00 committed by Kyle Robbertze
parent ab6cebb6ed
commit 7184fb3235
5 changed files with 38 additions and 2 deletions

View file

@ -1,4 +1,4 @@
all: lint
all: lint test
include ../tools/python.mk
@ -8,7 +8,9 @@ PIP_INSTALL := \
PYLINT_ARG := libretime_worker || true
MYPY_ARG := libretime_worker || true
BANDIT_ARG := libretime_worker || true
PYTEST_ARG = --cov=libretime_worker tests
format: .format
lint: .format-check .pylint .mypy .bandit
test: .pytest
clean: .clean