-
Notifications
You must be signed in to change notification settings - Fork 224
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
Cut Windows CI build time in half to 15 min #586
Conversation
This would update to miniconda version 4.8.3 , which is a pretty significant upgrade for the Github Actions Windows runner still stuck at 4.6.14 (as of 6 September 2020).
with: | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge | ||
miniconda-version: "latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll like this @seisman, The Windows conda install step speed up (~24min -> ~8min) comes from just adding this one line! What it does (on Windows) is to update the miniconda version from 4.6.14 to 4.8.3, and this would use a newer/faster conda
solver, among other things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also speed up macOS. Perhaps we should also update ci_tests_dev.yaml
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really by much, I think we can do it another time since that’s not really a bottleneck.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Description of proposed changes
Attempt at speeding up Windows builds by updating conda version. For Python 3.6, our current Windows build takes ~31min which is too slow!! Should at least half that time to ~15 minutes to make it more in line with macOS/Linux builds. The bulk of the time (~24min) is spent just installing dependencies using conda, so that will be what this PR will focus on optimizing.
Before
After
TODO:
Towards #584
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.