chore: split test and coverage tasks

This commit is contained in:
jo 2022-12-07 11:42:16 +01:00 committed by Kyle Robbertze
parent 2ccd93299a
commit 14beb885a3
16 changed files with 37 additions and 21 deletions

View file

@ -10,9 +10,9 @@ PIP_INSTALL := \
PYLINT_ARG := libretime_playout tests || true
MYPY_ARG := libretime_playout tests || true
BANDIT_ARG := libretime_playout || true
PYTEST_ARG := --cov=libretime_playout tests
format: .format
lint: .format-check .pylint .mypy .bandit
test: .pytest
test-coverage: .coverage
clean: .clean

View file

@ -16,6 +16,9 @@ disable = "logging-fstring-interpolation"
log_cli = true
log_cli_level = "DEBUG"
[tool.coverage.run]
source = ["libretime_playout"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"