test(worker): setup testing
This commit is contained in:
parent
ab6cebb6ed
commit
7184fb3235
5 changed files with 38 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue