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
gh-93735: Split Docs CI to speed-up the build #93736
Conversation
The diff is rendered badly here, but in effect I copy and pasted the job, removed doctest from the first and replaced the python build with A |
A nice speed improvement!
Looking at an earlier build (~15 mins):
This has parallel docs (~4 min) and doctest (~7 min):
and
So even if they ran in serial (they won't), it's still quicker. In part it's because "Build HTML documentation" only takes 2 min instead of 6 min (or sometimes up to 15 min)!
CI failed because of:
This is a mildly annoying change, I quite like using the default of "give me the latest stable Python". A |
- Split to SPHINXOPTS and SPHINXERRORHANDLING - Remove SPHINXOPTS from make check
+1 from me. |
Thanks @AA-Turner for the PR, and @JulienPalard for merging it |
Good idea! |
(cherry picked from commit 4f26963) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-93831 is a backport of this pull request to the 3.11 branch. |
Sorry, @AA-Turner and @JulienPalard, I could not cleanly backport this to |
@JulienPalard do you want me to have a go doing the 3.10 backport? A |
Thanks @AA-Turner for the PR, and @JulienPalard for merging it |
Sorry @AA-Turner and @JulienPalard, I had trouble checking out the |
It won't be a clean backport as the docs job was split into three steps in 3.11 -- see https://github.com/python/cpython/blob/3.10/.github/workflows/doc.yml A |
GH-93833 is a backport of this pull request to the 3.10 branch. |
A |
#93735
A