ci: report pytest coverage in PR via codecov

Fixes: #1915
This commit is contained in:
Kyle Robbertze 2022-06-24 20:47:23 +02:00 committed by Jonas L
parent d946497336
commit 7ff0aff70a
2 changed files with 7 additions and 1 deletions

View file

@ -63,7 +63,7 @@ install: $(VENV)
.PHONY: .pytest
.pytest: $(VENV)
source $(VENV)/bin/activate
pytest -n $(CPU_CORES) --color=yes -v $(PYTEST_ARG)
pytest -n $(CPU_CORES) --color=yes -v --cov-report term --cov-report xml:./coverage.xml $(PYTEST_ARG)
.PHONY: .clean
.clean: