PYTHON-3898 Add coverage to all variants#2705
Open
blink1073 wants to merge 17 commits intomongodb:masterfrom
Open
PYTHON-3898 Add coverage to all variants#2705blink1073 wants to merge 17 commits intomongodb:masterfrom
blink1073 wants to merge 17 commits intomongodb:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PYTHON-3898
Changes in this PR
Ensures that a cross-section of builds that don't require starting clusters or VMs are run on PRs with coverage enabled. Also ensure that some tasks run without coverage. 131/159 tasks that run on PRs now include coverage. Overall reported coverage has increased 6.21% in this PR.
pytest-covwithcoverage runto avoid interference from the plugin. For example, we couldn't run a subset of tests such astest/test_bson.pywhen usingpytest --cov.I will open up other tickets in this epic for things I've seen that could be improved.
Test Plan
Run the PR, and ensure that the expected tests are run with coverage. We expect to see the pymongo coverage rise quite a bit when we add encryption, auth aws, and oidc tests.
Checklist
Checklist for Author
Checklist for Reviewer