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

Move coverage to pyproject #4658

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Move coverage to pyproject #4658

merged 2 commits into from
Apr 30, 2024

Conversation

jwhitlock
Copy link
Member

I'm getting errors when attempting to upload coverage for privaterelay/locales/de/banner.ftl. This PR should fix this, while also moving coverage configuration to pyproject.toml and adding coverage of test files.

- Do not measure coverage of migrations
- Do measure coverage of test files
- Avoid coverage of locales files
@jwhitlock
Copy link
Member Author

I can go either way on coverage for test files.

The argument for excluding them is that it makes the coverage percentage higher that "deserved", since it included both production and test code.

The argument for including them is that it exposes issues like test code that doesn't run as expected.

So, I'm relying on reviewers to decide which way to go...

@groovecoder groovecoder added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit 7b53e29 Apr 30, 2024
28 checks passed
@groovecoder groovecoder deleted the move-coverage-to-pyproject branch April 30, 2024 13:54
@groovecoder
Copy link
Member

I'd rather include them so they continue to expose issues in a way that, even if we ignore it MOST of the time, we might actually see it again and decide to pick it up.

If we exclude them once, they will be forgotten forever.

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.

2 participants