Skip to content

gh-149640: Add new GitHub action to test lazy_imports=all against test suite#151105

Draft
brittanyrey wants to merge 2 commits into
python:mainfrom
brittanyrey:lazy-imports-all-ci
Draft

gh-149640: Add new GitHub action to test lazy_imports=all against test suite#151105
brittanyrey wants to merge 2 commits into
python:mainfrom
brittanyrey:lazy-imports-all-ci

Conversation

@brittanyrey
Copy link
Copy Markdown
Contributor

@brittanyrey brittanyrey commented Jun 8, 2026

This commit adds a new action to run the CPython test suite with lazy_imports=all set as suggested in this comment.

#149640

branches: &branches
- 'main'
- '3.*'
paths-ignore: &paths-ignore
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, our actions use the results from compute-changes.py.

env:
FORCE_COLOR: 1

jobs:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This job failing won't block merge, for that we'd have to wire it into:

all-required-green: # This job does nothing and is only used for the branch protection

Maybe this could be reusable-test-lazy-imports.yml with jobs initiated in build.yml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants