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

Cache conda packages in GIthub Actions #92

Merged
merged 26 commits into from
Aug 1, 2024
Merged

Conversation

Colelyman
Copy link
Collaborator

This will cache the conda environment to speed up integration tests when running on Github Actions.

@Colelyman Colelyman requested a review from Snicker7 July 30, 2024 16:24
Copy link
Collaborator

@Snicker7 Snicker7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, works as intended

@Colelyman Colelyman merged commit 6013abc into master Aug 1, 2024
6 checks passed
@Colelyman Colelyman deleted the cole/cache-conda-packages branch August 1, 2024 20:18
Colelyman added a commit that referenced this pull request Aug 2, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
mbowcut2 pushed a commit that referenced this pull request Aug 15, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
mbowcut2 pushed a commit that referenced this pull request Oct 14, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
mbowcut2 pushed a commit that referenced this pull request Nov 8, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants