fix: correct pytest command in Makefile

This commit is contained in:
Arthur Meyre
2021-10-12 10:58:15 +02:00
parent 53efda71cf
commit 286dda79b2
2 changed files with 3 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ pcc_internal: $(PCC_DEPS)
pytest:
poetry run pytest -svv \
--global-coverage-infos-json global-coverage-infos.json \
--global-coverage-infos-json=global-coverage-infos.json \
--cov=$(SRC_DIR) --cov-fail-under=100 \
--cov-report=term-missing:skip-covered tests/
.PHONY: pytest

View File

@@ -26,6 +26,8 @@ def pytest_addoption(parser):
parser.addoption(
"--global-coverage-infos-json",
action="store",
default=None,
type=str,
help="To dump pytest-cov term report to a text file.",
)