diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-31 01:30:13 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-31 01:30:13 +0200 |
commit | b6619891b59cd45969c3d259275428221072842b (patch) | |
tree | 75ec3ca9654fecb2230add24a4b245ab9e34a39c | |
parent | Start adding hyperlinks. (diff) | |
download | muppet-strings-b6619891b59cd45969c3d259275428221072842b.tar.gz muppet-strings-b6619891b59cd45969c3d259275428221072842b.tar.xz |
Use pytest coverage.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,8 +9,11 @@ check: flake8 muppet mypy -p muppet +# TODO only require coverage if `python -m pytest -VV | grep pytest-cov` return true +PYTEST_FLAGS = --cov=muppet --cov-branch --cov-report=html + test: - python -m pytest + python -m pytest $(PYTEST_FLAGS) tests clean: -rm -r output |