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

CI: micromamba and environment caching #1767

Closed
wants to merge 1 commit into from
Closed

Conversation

VeckoTheGecko
Copy link
Contributor

Migrating to micromamba with environment caching to reduce CI times.

Environment cache key is based on:

  • OS
  • runner architecture
  • python version
  • date
  • environment file

@VeckoTheGecko
Copy link
Contributor Author

Well, looks like it only saves a minute (and its the windows tests that are the main slowdown anyway, and those aren't affected).


Details

Before:
image

After (cold start):
image

After (warm start):
image

@VeckoTheGecko
Copy link
Contributor Author

Thoughts on this @erikvansebille ? No significant speedup, but I do have a very slight preference for micromamba for CI . I'm happy either way, just want to clear this out of the open PRs :)

@erikvansebille
Copy link
Member

Thoughts on this @erikvansebille ? No significant speedup, but I do have a very slight preference for micromamba for CI . I'm happy either way, just want to clear this out of the open PRs :)

I'd be prefer to keep the installation method of our CI as close to that advised in the installation instructions for users/developers, so that our CI also tests installation procedure. So rather stick with conda for now...

@VeckoTheGecko
Copy link
Contributor Author

Roger that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants