chore: split test and coverage tasks
This commit is contained in:
parent
33e13e877e
commit
5738edb49c
16 changed files with 37 additions and 21 deletions
|
@ -55,13 +55,18 @@ install: $(VENV)
|
|||
|
||||
.PHONY: .pytest
|
||||
.pytest: $(VENV)
|
||||
$(VENV)/bin/pytest -v \
|
||||
$(VENV)/bin/pytest \
|
||||
--numprocesses=$(CPU_CORES) \
|
||||
--color=yes \
|
||||
--color=yes
|
||||
|
||||
.PHONY: .coverage
|
||||
.coverage: $(VENV)
|
||||
$(VENV)/bin/pytest \
|
||||
--numprocesses=$(CPU_CORES) \
|
||||
--cov \
|
||||
--cov-config=pyproject.toml \
|
||||
--cov-report=term \
|
||||
--cov-report=xml:./coverage.xml \
|
||||
$(PYTEST_ARG)
|
||||
--cov-report=xml
|
||||
|
||||
.PHONY: .clean
|
||||
.clean:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue