Update CI to run api_clients pytest
This commit is contained in:
parent
f944eca0a7
commit
8d9d1e43c5
4 changed files with 27 additions and 5 deletions
16
python_apps/api_clients/Makefile
Normal file
16
python_apps/api_clients/Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue