Skip to content

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 VeckoTheGecko marked this pull request as ready for review November 26, 2024 06:07
@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 :)

@VeckoTheGecko VeckoTheGecko deleted the ci-cache branch January 10, 2025 09:49
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.

3 participants