Skip to content
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

Skip non-wheel CI runs for tags #7468

Merged
merged 1 commit into from Oct 15, 2023
Merged

Skip non-wheel CI runs for tags #7468

merged 1 commit into from Oct 15, 2023

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Oct 15, 2023

Noticed during #7348, helps #7390.

When making a release, and pushing a tag, all the CI workflows run:

image

By the time we're making a release, the CI has already tested all merges to main. Checking this is one of the first items in the release checklist.

We can save some CI time and skip the non-wheels workflows for tag pushes.

The wheels workflows:

  • wheels.yml
  • test-windows.yml (for now)
  • I also left lint.yml there: it's quick to run

By default, all branches and tags are run. By explicitly specifying all branches branches: "**"has the same effect as not specifying atags:` key, and not triggering for tags. Ref: https://stackoverflow.com/a/71879890/724176

Demo

Pushing as main to my fork, all run:

image

Pushing a tag, only the wheels+lint workflows run:

image

@hugovk hugovk added the Testing label Oct 15, 2023
@radarhere radarhere merged commit 4593508 into python-pillow:main Oct 15, 2023
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants