Skip to content

Conversation

brianschubert
Copy link
Member

@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
Member Author

Copy link
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