diff --git a/Makefile b/Makefile index 6c858f1..2a2f8fb 100644 --- a/Makefile +++ b/Makefile @@ -51,8 +51,7 @@ lint: ## check style with flake8 pre-commit run --all-files test: ## run tests quickly with the default Python - coverage run -m pytest tests - coverage xml -o junit.xml + pytest --cov --junitxml=junit.xml -o junit_family=legacy release: dist ## package and upload a release twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 5ee7304..c1a81e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ dev = [ "mypy", "bandit", "pre-commit", + "pytest-cov", ] docs = [