xapian-haystack/.coveragerc
Alejandro R. Sedeño 1a5b4cf0b3 Better coverage handling
Use `coverage combine` with some more configuration in .coveragerc
to merge our own paths with the paths we copy to when running coverage
and tests in the django-haystack checkout.

Also, print the simple coverage report in the Github Actions workflow
for good measure.

Fixes: #205
2021-09-25 08:52:07 +02:00

23 lines
490 B
INI

[report]
exclude_lines =
def __repr__
raise NotImplementedError
raise MissingDependency
except xapian.DatabaseModifiedError
[run]
source =
haystack.backends.xapian_backend
test_haystack/xapian_tests
[paths]
# Merge coverage data from running tests in a django-haystack
# checkout with our own paths for coverage reporting.
backend =
./
*/django-haystack/haystack/backends/
tests =
tests/xapian_tests/
*/django-haystack/test_haystack/xapian_tests/