Skip to content

Commit

Permalink
Makefile: use a faster coverage target
Browse files Browse the repository at this point in the history
I want a fast "coverage" target.
tox is still used by CI.
  • Loading branch information
LudovicRousseau committed Sep 25, 2024
1 parent ee8512c commit e6917e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PYTHON ?= python3
TOX ?= tox
COVERAGE ?= coverage

build:
$(TOX) run -m build
Expand All @@ -25,7 +26,11 @@ test:
pytest

coverage:
$(TOX) run
$(COVERAGE) erase
$(COVERAGE) run -m unittest discover
$(COVERAGE) combine
$(COVERAGE) report
$(COVERAGE) html

pylint:
$(PYTHON) -m pylint --errors-only --ignore wx smartcard
Expand Down

0 comments on commit e6917e3

Please sign in to comment.