Skip to content

Use separate conda cache directories in CI #261

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

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

altheaden
Copy link
Collaborator

This PR updates the build workflow to use separate directories for each python version for conda caching. Issues with this seem to have been crashing CI runs lately.

I also fixed a bug in the docs workflow, where it was referring to a nonexistent python version matrix (likely a remnant of copying from the build workflow). Instead, I set this to be an environment variable called PYTHON_VERSION which will allow us to more easily specify and update the python version we use for the documentation without having to change it in a couple different places. I also copied this convention into the pre-commit update workflow for consistency.

Copy link
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.

@altheaden, this looks great!

@xylar xylar merged commit f86daa6 into E3SM-Project:main Jan 17, 2025
5 checks passed
@xylar xylar deleted the fix-conda-cache branch January 17, 2025 17:14
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