Update CI to run api_clients pytest

This commit is contained in:
jo 2021-06-08 00:12:14 +02:00
parent f944eca0a7
commit 8d9d1e43c5
4 changed files with 27 additions and 5 deletions

View file

@ -0,0 +1,16 @@
.PHONY: lint test
SHELL := bash
CPU_CORES := $(shell nproc)
MODULE_APP := api_clients
MODULE_TESTS := tests
lint:
pylint ${MODULE_APP}
pylint ${MODULE_TESTS}
test:
pytest -n ${CPU_CORES} --color=yes -v --cov=${MODULE_APP} ${MODULE_TESTS}
all: lint test