-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Switch GitHub Actions to install environments with mamba
#5375
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
When doing this, it'd be great to combine |
Hey @michaelosthege! I would like to work on this issue. Can you please guide me through the process of resolving this issue. |
Most importantly these lines will need to be changed: https://github.com/pymc-devs/pymc/blob/main/.github/workflows/pytest.yml#L114-L140 Try to google for other example where GitHub actions are used with mamba. Maybe there are some equivalents to the cache & setup actions in the aforementioned lines. |
Ok so I changed the code by adding 2 lines |
I don't know if this is sufficient, but probably not. You should commit the changes and push them to a branch on your fork (https://github.com/parthb83/pymc) the CI actions should be triggered on your fork. |
After pushing the changes to my forked repository, no CI action was triggered. |
Try to push it to your main branch. |
Hey @michaelosthege! Please check the test results here (https://github.com/parthb83/pymc/actions/runs/1743967089). I think the conda environment is being created by |
looks good, @parthb83 ! Can you switch the Windows jobs (further down in the file) over to mamba too? And then open a PR (GitHub should give you a button when you visit the pull requests page). |
Hey @michaelosthege! Thanks for the help. You can review the PR at #5387. |
Is this finished @parthb83? |
I think so. |
Our CI pipelines are taking quite a bit of compute time and per job already 3.5 minutes are just for creating the conda environments.
Switching to
mamba
could save quite a lot of compute time & energy there!The text was updated successfully, but these errors were encountered: