fix: separate Docker tests into dedicated CI job for autogen-ext#7385
Open
majiayu000 wants to merge 1 commit intomicrosoft:mainfrom
Open
fix: separate Docker tests into dedicated CI job for autogen-ext#7385majiayu000 wants to merge 1 commit intomicrosoft:mainfrom
majiayu000 wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Docker code executor tests (DockerCommandLineCodeExecutor and DockerJupyterCodeExecutor) add ~160s to the autogen-ext test suite due to per-test container builds. This separates them into a dedicated CI job following the existing test-grpc pattern: - Add `docker` pytest marker to both Docker test files - Add `--docker` CLI option to conftest.py for marker-based filtering - Add `test-docker` poe task in pyproject.toml - Add `test-docker` CI job in checks.yml with coverage upload - Regular `poe test` now skips Docker-marked tests Fixes microsoft#6376 Signed-off-by: majiayu000 <1835304752@qq.com>
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.
Why are these changes needed?
Docker code executor tests (
DockerCommandLineCodeExecutorandDockerJupyterCodeExecutor) add ~160s to theautogen-exttest suite because each test creates a new Docker container (~10s build time per container). This PR separates them into a dedicated CI job, following the existingtest-grpcpattern, so they no longer block the main test suite.Fixes #6376
Changes
dockerpytest marker to both Docker test files viapytestmark = pytest.mark.docker--dockerCLI option toconftest.pyfor marker-based test filtering (same pattern as--grpc)test-dockerpoe task inpyproject.tomltest-dockerCI job in.github/workflows/checks.ymlwith coverage uploadcodecovjob dependenciespoe testnow skips Docker-marked tests automaticallyRelated issue number
Fixes #6376
Checks