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

Build docs in own workflow #6991

Merged
merged 5 commits into from
Mar 6, 2023
Merged

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Mar 4, 2023

So far the make doccheck docs test has been piggybacking on the main test.yml build.

We have a pretty big (and slow!) CI matrix, I think it's time to split the it into its own workflow.

This way, we can run the docs workflow only when the docs change (or the docs workflow file), and have the other workflows ignore docs-only changes.

It will make it much quicker for docs-only PRs.

For example, the first commit here still ran all the workflows:

image

And the second only ran the docs (plus linting):

image

@hugovk hugovk added the Testing label Mar 4, 2023
Run valgrind tests when GitHub Actions file changes
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
@radarhere radarhere merged commit 4ca3fc0 into python-pillow:main Mar 6, 2023
@hugovk hugovk deleted the gha-docs-only branch March 6, 2023 10:04
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