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

Use faster mamba solver in github actions #992

Merged
merged 5 commits into from
Dec 14, 2023
Merged

Use faster mamba solver in github actions #992

merged 5 commits into from
Dec 14, 2023

Conversation

rly
Copy link
Contributor

@rly rly commented Oct 31, 2023

Motivation

GitHub Actions sometimes gets stuck solving the conda python 3.12 environment. Use mamba instead of the default conda solver. It is faster and less prone to getting stuck. This is minor enough not to need a changelog IMO.

Checklist

  • Did you update CHANGELOG.md with your changes?
  • Have you checked our Contributing document?
  • Have you ensured the PR clearly describes the problem and the solution?
  • Is your contribution compliant with our coding style? This can be checked running ruff from the source directory.
  • Have you checked to ensure that there aren't other open Pull Requests for the same change?
  • Have you included the relevant issue number using "Fix #XXX" notation where XXX is the issue number? By including "Fix #XXX" you allow GitHub to close issue #XXX when the PR is merged.

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a270a14) 88.38% compared to head (00c3667) 88.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #992   +/-   ##
=======================================
  Coverage   88.38%   88.38%           
=======================================
  Files          45       45           
  Lines        9565     9565           
  Branches     2720     2720           
=======================================
  Hits         8454     8454           
  Misses        784      784           
  Partials      327      327           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@h-mayorquin
Copy link
Contributor

Maybe this is useful, apparently conda latest version allows to use mamba solver:

https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community

@rly rly marked this pull request as ready for review December 6, 2023 01:23
@rly rly requested a review from oruebel December 6, 2023 01:23
@rly rly enabled auto-merge (squash) December 14, 2023 00:40
@rly rly merged commit 9339a2a into dev Dec 14, 2023
27 checks passed
@rly rly deleted the actions_mamba branch December 14, 2023 00:41
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.

3 participants