Python: Add GitHub Copilot integration tests to CI workflows#6345
Closed
giles17 wants to merge 1 commit into
Closed
Python: Add GitHub Copilot integration tests to CI workflows#6345giles17 wants to merge 1 commit into
giles17 wants to merge 1 commit into
Conversation
Add a dedicated integration test job for the github_copilot package to both python-integration-tests.yml and python-merge-tests.yml. The job: - Runs 6 integration tests (basic, streaming, tools, session, resume, shell) - Uses COPILOT_GITHUB_TOKEN secret from the integration environment - Follows the same pattern as other provider integration jobs (OpenAI, Foundry, etc.) - Includes path filtering in merge-tests (github_copilot package + core changes) - Added to needs lists in report and check jobs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Copilot provider integration-test job to the Python CI workflows, aligning with the existing pattern used for other provider integration tests (OpenAI, Foundry, Cosmos, etc.). This ensures Copilot-specific integration coverage is exercised in both the manual integration workflow and merge/scheduled CI runs while remaining gated by path filters.
Changes:
- Adds a
python-tests-github-copilotjob topython-merge-tests.yml, includingpaths-filtergating and inclusion in the report + status-checkneedslists. - Adds a matching
python-tests-github-copilotjob topython-integration-tests.ymland wires it into the report + status-check aggregation. - Extends the merge-tests
paths-filterto trackpython/packages/github_copilot/**changes.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/python-merge-tests.yml | Adds a Copilot integration-test job with merge-queue path gating and includes it in reporting/check aggregation. |
| .github/workflows/python-integration-tests.yml | Adds a Copilot integration-test job to the manually-orchestrated integration workflow and includes it in reporting/check aggregation. |
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.
Changes
Adds a dedicated GitHub Copilot integration test job to the Python CI workflows, matching the pattern used by other provider integration tests (OpenAI, Foundry, Cosmos, etc.).
What's added
A
python-tests-github-copilotjob in both:python-integration-tests.yml(called from manual integration test orchestrator)python-merge-tests.yml(merge queue + daily schedule)Job details
packages/github_copilot/testsmarked with@pytest.mark.integrationCOPILOT_GITHUB_TOKENsecret from theintegrationenvironment (same secret used by sample validation)packages/github_copilot/**or core changesneedslists in both the trend report and status-check jobsTest coverage (from PR #6292)
Prerequisites
COPILOT_GITHUB_TOKENsecret must exist in theintegrationenvironment (already configured for sample validation)