bluesky / hklpy

Diffractometer computation library with ophyd pseudopositioner support
https://blueskyproject.io/hklpy
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

switch Actions workflows to use micromamba #231

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

When running the Actions workflows, most of the time is spent in the conda solver. The micromamba solver is remarkably faster. Use it.

prjemian commented 2 years ago

See https://github.com/marketplace/actions/provision-with-micromamba

prjemian commented 2 years ago

Since this resolves #233, apply micromamba to other workflows.

prjemian commented 2 years ago

The micromamba provisions a custom environment name, so no need for the .github/edit_test_environment.py code now.

prjemian commented 2 years ago

Note that time to complete unit tests workflow (successfully) has decreased to ~3 minutes. Before these changes, the time was ~5 minutes.