-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Python: Add more packages to unit test coverage gate #3831
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
Merged
TaoChenOSU
merged 5 commits into
microsoft:main
from
TaoChenOSU:taochen/python-add-more-packages-to-unit-test-coverage-gate
Feb 11, 2026
Merged
Python: Add more packages to unit test coverage gate #3831
TaoChenOSU
merged 5 commits into
microsoft:main
from
TaoChenOSU:taochen/python-add-more-packages-to-unit-test-coverage-gate
Feb 11, 2026
+7
−3
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
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the Python unit test coverage gate configuration to enforce the 85% threshold for additional GA packages, aligning with the repo’s coverage-tracking issues.
Changes:
- Add
agent_framework_azure_ai_searchto the consolidatedpoe all-tests-covcoverage sources. - Enforce coverage threshold for
packages.azure-ai-search.agent_framework_azure_ai_search,packages.core.agent_framework, andpackages.core.agent_framework._workflowsin the coverage gate script.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
python/pyproject.toml |
Adds Azure AI Search package to the all-tests-cov pytest-cov source list so it appears in the Cobertura report. |
.github/workflows/python-check-coverage.py |
Expands the enforced module set so these packages now fail the build if below the configured coverage threshold. |
Member
Python Test Coverage Report •
Python Unit Test Overview
|
||||||||||||||||||||||||||||||
moonbox3
approved these changes
Feb 11, 2026
giles17
approved these changes
Feb 11, 2026
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.
Motivation and Context
Part of #2474
Description
Adding the following packages to the gate:
packages.core.agent_framework: closes Python: Unit test coverage for core (other modules) #3360packages.core.agent_framework._workflows: closes Python: Unit test coverage for core/workflows module #3359packages.purview.agent_framework_purview: closes Python: purview package unit test coverage tracking #3358Contribution Checklist