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