Skip to content

Switch CI from miniconda to micromamba#902

Merged
xylar merged 3 commits intoMPAS-Dev:mainfrom
altheaden:ci-switch-to-micromamba
May 3, 2025
Merged

Switch CI from miniconda to micromamba#902
xylar merged 3 commits intoMPAS-Dev:mainfrom
altheaden:ci-switch-to-micromamba

Conversation

@altheaden
Copy link
Copy Markdown
Collaborator

This PR switches CI to use the setup-micromamba GitHub action instead of the setup-miniconda GitHub action, in an effort to fix CI crashes caused by the latest miniconda version.

To do this, I needed to make a change to conda.shared, so that it did not reference the CONDA_EXE variable. Apparently miniconda sets this environment var, but micromamba does not.

Checklist

  • Documentation has been built locally and changes look as expected
  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@altheaden
Copy link
Copy Markdown
Collaborator Author

Testing

I tested this by pushing it to my fork and letting CI run. I'm waiting for the documentation to deploy to make sure that it looks fine, but it built without errors so I'm not too concerned about it.

Copy link
Copy Markdown
Collaborator

@xylar xylar left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks @altheaden!

@xylar xylar merged commit 391b400 into MPAS-Dev:main May 3, 2025
6 checks passed
@xylar xylar deleted the ci-switch-to-micromamba branch May 3, 2025 09:10
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