diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 528aad9..0000000 --- a/.coveragerc +++ /dev/null @@ -1,2 +0,0 @@ -[run] -source = analytical diff --git a/pyproject.toml b/pyproject.toml index 1c3dfcc..a4be958 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,6 +97,13 @@ dependencies = [ Homepage = "https://github.com/jazzband/django-analytical" Documentation = "https://django-analytical.readthedocs.io/" +[tool.coverage.report] +show_missing = true +skip_covered = true + +[tool.coverage.run] +source = ["analytical"] + [tool.pytest.ini_options] addopts = "--junitxml=tests/unittests-report.xml --color=yes --verbose" DJANGO_SETTINGS_MODULE = "tests.testproject.settings" diff --git a/tox.ini b/tox.ini index 168ca26..dfaa89a 100644 --- a/tox.ini +++ b/tox.ini @@ -35,6 +35,7 @@ deps = django52: Django>=5.2,<6.0 commands = coverage run -m pytest {posargs} + coverage report coverage xml [testenv:audit]