tools: update pytest make target to have a report on coverage

- allows to have coverage information without using make coverage
- make coverage remains recommended to check a commit's content
This commit is contained in:
Arthur Meyre
2021-08-19 17:39:59 +02:00
parent 6959fdf7e7
commit f91092ac38

View File

@@ -42,7 +42,7 @@ pcc_internal: check_python_format python_linting mypy_ci pydocstyle
.PHONY: pcc_internal
pytest:
poetry run pytest -svv --cov=hdk --cov-report=xml tests/
poetry run pytest -svv --cov=hdk --cov-report=term-missing:skip-covered --cov-report=xml tests/
.PHONY: pytest
# Not a huge fan of ignoring missing imports, but some packages do not have typing stubs