chore: split test and coverage tasks
This commit is contained in:
parent
2ccd93299a
commit
14beb885a3
16 changed files with 37 additions and 21 deletions
|
@ -8,9 +8,9 @@ PIP_INSTALL := \
|
|||
PYLINT_ARG := libretime_worker
|
||||
MYPY_ARG := libretime_worker || true
|
||||
BANDIT_ARG := libretime_worker
|
||||
PYTEST_ARG = --cov=libretime_worker tests
|
||||
|
||||
format: .format
|
||||
lint: .format-check .pylint .mypy .bandit
|
||||
test: .pytest
|
||||
test-coverage: .coverage
|
||||
clean: .clean
|
||||
|
|
|
@ -13,6 +13,9 @@ disable = "logging-fstring-interpolation"
|
|||
log_cli = true
|
||||
log_cli_level = "DEBUG"
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["libretime_worker"]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue