Skip to content

[CI] Fix running stubtest when multiple stubs have changed#14677

Merged
srittau merged 3 commits into
python:mainfrom
brianschubert:ci-fix-changed-stubs
Sep 5, 2025
Merged

[CI] Fix running stubtest when multiple stubs have changed#14677
srittau merged 3 commits into
python:mainfrom
brianschubert:ci-fix-changed-stubs

Conversation

@brianschubert
Copy link
Copy Markdown
Collaborator

@brianschubert brianschubert commented Sep 5, 2025

After #14652, this line chokes when multiple stubs have changed:

echo "STUBS=$STUBS" >> $GITHUB_ENV

It seems that GitHub doesn't like writing values with newlines to $GITHUB_ENV. Example failure: https://github.com/python/typeshed/actions/runs/17478953565/job/49645359829?pr=14670

As a workaround, this changes the STUBS variable to be space-delimited instead of newline delimited.

@brianschubert brianschubert changed the title [ci] Fix running stubtest when multiple stubs changed [CI] Fix running stubtest when multiple stubs have changed Sep 5, 2025
@brianschubert
Copy link
Copy Markdown
Collaborator Author

Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks!

@srittau srittau merged commit 64aa465 into python:main Sep 5, 2025
43 checks passed
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