diff --git a/.gitignore b/.gitignore index f63b9a3..2af2a9b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.pyc __pycache__ .coverage* +coverage.xml .idea /dist diff --git a/pyproject.toml b/pyproject.toml index b660849..03e5301 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,14 @@ test = "pytest {args:tests}" test-cov = "coverage run -m pytest {args:tests}" cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hipercow --cov=tests {args}" no-cov = "cov --no-cov {args}" +cov-report-xml = [ + "- coverage combine", + "coverage xml", +] +cov-ci = [ + "test-cov", + "cov-report-xml", +] [[tool.hatch.envs.test.matrix]] python = ["37", "38", "39", "310", "311"]