Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better coverage handling #206

Merged
merged 1 commit into from Sep 25, 2021
Merged

Better coverage handling #206

merged 1 commit into from Sep 25, 2021

Conversation

asedeno
Copy link
Collaborator

@asedeno asedeno commented Sep 24, 2021

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

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: notanumber#205
@asedeno
Copy link
Collaborator Author

asedeno commented Sep 24, 2021

Also, sorry, not sorry, this will drop the coverage rating a smidge since it's now picking up test coverage of xapian_backend.py. 😄

@claudep
Copy link
Collaborator

claudep commented Sep 24, 2021

Looks like the tests files are included in the coverage. Shouldn't they be excluded?

@asedeno
Copy link
Collaborator Author

asedeno commented Sep 24, 2021

They've always been included in the coverage, so I didn't see fit to remove them.

@asedeno
Copy link
Collaborator Author

asedeno commented Sep 25, 2021

Having given this some more thought, no, they should be left in. It shows that they are being run.

@claudep
Copy link
Collaborator

claudep commented Sep 25, 2021

I don't want to fight on this. You did the job, so you decide, even if my personal opinion didn't change :-)

@claudep claudep merged commit 1a5b4cf into notanumber:master Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github Actions - coveralls integration needs more work
2 participants