From acf386e9ba2d1c1ef5253ea6be9ed9052bca56e7 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 26 Nov 2020 11:03:50 +0100 Subject: [PATCH] Write coverage file. --- .gitignore | 1 + pytest.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e26b241..92a9614 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.pyc *.swp .coverage +coverage.xml .DS_Store .idea .mypy_cache/ diff --git a/pytest.ini b/pytest.ini index 31fe7a0..e919914 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] testpaths = axes/tests python_files = tests.py test_*.py tests_*.py *_tests.py *_test.py -addopts = --cov axes --cov-config .coveragerc --cov-append --cov-report term-missing +addopts = --cov axes --cov-config .coveragerc --cov-append --cov-report term-missing --cov-report=xml DJANGO_SETTINGS_MODULE = axes.tests.settings