[ci] speed up conda setup for macOS and Linux jobs #5743
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up to #5668.
Proposes combining the
conda create
andconda install
steps run in CI jobs into a singleconda create
step. In #5668 and #5648, we observed that doing that led to less overall time in CI spent waiting forconda
solves.benefits of this change
I observed the following timing differences in these jobs on this PR, compared to
master
:master
this PR:
latest
master
build:Notes for Reviewers
Given all the things that can change from run-to-run, it's hard to trust differences in the timings based on 1 or even a few of runs. But I'm still pretty confident that these changes make these CI jobs at least a small amount faster, without reducing their stability.