-
Notifications
You must be signed in to change notification settings - Fork 94
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 Actions: Cache pip dependencies #4532
Conversation
cache: pip | ||
cache-dependency-path: setup.cfg |
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.
Don't know if there is a reason to avoid caching for the manylinux test?
Partially addresses #3606 |
Do we have the ability to reset this cache manually? |
https://github.com/actions/setup-python#caching-packages-dependencies says:
(It only talks about requirements.txt but actions/setup-python#282 (comment) says you can use setup files too) To be honest, I'm minded to close this as it isn't really making a dent on install times |
Fine with me, the big cost ATM is the Conda envs. I think we should containerise our build env and install deps from Conda so we are always testing the correct stack and aren't don't get messed around with CI env changes. We could build and cache the env based on the hash of the See: |
This is a small change with no associated Issue. Hopefully will shave some time off GH Actions checks [Update: not really 🤷♂️]
https://github.blog/changelog/2021-11-23-github-actions-setup-python-now-supports-dependency-caching/
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.