Speed up CI: enable micromamba environment caching#30
Merged
Conversation
Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor actions to use mamba for faster execution
Replace conda with mamba (micromamba) in CI workflows for faster execution
Mar 18, 2026
Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot
AI
changed the title
Replace conda with mamba (micromamba) in CI workflows for faster execution
Pin GitHub Actions to SHA hashes for supply chain security
Mar 18, 2026
… test_is_zip for bytes with null bytes Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot
AI
changed the title
Pin GitHub Actions to SHA hashes for supply chain security
Pin Actions to SHA hashes, switch to micromamba, fix test_is_zip for bytes input
Mar 18, 2026
…ation step Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot
AI
changed the title
Pin Actions to SHA hashes, switch to micromamba, fix test_is_zip for bytes input
Switch to micromamba in CI and fix test_is_zip crash on binary bytes input
Mar 18, 2026
Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot
AI
changed the title
Switch to micromamba in CI and fix test_is_zip crash on binary bytes input
Speed up CI: enable micromamba environment caching
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Install Mamba environment" step was slow on every run because packages were re-downloaded and the environment re-solved from scratch each time.
Changes
cache-downloads: true— caches raw conda package tarballs so channels aren't re-fetched on repeat runscache-environment: true— caches the fully-solved environment directory; on a hit the entire solve + install phase is skippedCache keys are automatically derived from the
test-env.ymlhash andcreate-args(including Python version), so cache invalidation is automatic when dependencies change.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.