Repository navigation
feat(test): add runs: sub-runs support to pytest_runner - #8081
Open
archana-ramalingam wants to merge 6 commits into
Open
archana-ramalingam wants to merge 6 commits into
archana-ramalingam wants to merge 6 commits into
Conversation
❌ PR Check — Action Required
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
…it + tensilelite standard=150 timeout)
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
geomin12
requested changes
Sep 8, 2026
1 task done
…-scope matrix + timeout per review
archana-ramalingam
requested review from
dileepr1 and
geomin12
and removed request for
rahulc-gh
September 10, 2026 01:36
geomin12
approved these changes
Sep 14, 2026
…non-list runs Co-Authored-By: Claude <noreply@anthropic.com>
This branch has not been deployed
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.
JIRA ID : N/A
Motivation
pytest_runner.pyruns one pytest invocation per test category.-mexpressions, or client args).Technical Details
runs:, a list of sub-runs. Each runs as an independent pytest invocation with its owntest_paths, markers,pytest_args,parallel_workersand JUnit file ({component}_{name}.xml); all share the category timeout and environment.names must be present and unique (they key the JUnit file).runs:fails instead of running nothing.runs:take the existing single-run path.Test Plan
pre-commit run --all-filesTest Result
Risk level
Low — additive CI test-runner capability; all existing (single-run) categories take existing code path.