10000 ci: fix stubtest_third_party while loop by Akuli · Pull Request #6468 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

ci: fix stubtest_third_party while loop #6468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 1, 2021
Merged

ci: fix stubtest_third_party while loop #6468

merged 3 commits into from
Dec 1, 2021

Conversation

Akuli
Copy link
Collaborator
@Akuli Akuli commented Dec 1, 2021

foo && bar as a short way to if foo; then bar; fi wasn't great, because it makes the CI fail when foo is false.

@Akuli Akuli changed the title ci: fix while loop added in ci: fix while loop added in #6467 Dec 1, 2021
@Akuli Akuli changed the title ci: fix while loop added in #6467 ci: fix stubtest_third_party while loop Dec 1, 2021
@Akuli
Copy link
Collaborator Author
Akuli commented Dec 1, 2021

This now has the same fix as #6465.

@Akuli Akuli merged commit ec0051a into python:master Dec 1, 2021
@Akuli Akuli deleted the fix branch December 1, 2021 17:32
@JelleZijlstra
Copy link
Member
< 9F53 tr class="d-block">

A better way might be to use git diff --diff-filter=d to exclude deletions.

@srittau
Copy link
Collaborator
srittau commented Dec 1, 2021

@JelleZijlstra The problem with that approach is that if you just delete a single module from a stub, not the whole stub, and make no other changes, stubtest is not run. Fringe case, but possible.

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.

3 participants
0