Skip to content

actions: use mamba to provision Python environment#363

Merged
MetRonnie merged 2 commits intocylc:1.5.xfrom
oliver-sanders:actions.micromamba
Mar 11, 2025
Merged

actions: use mamba to provision Python environment#363
MetRonnie merged 2 commits intocylc:1.5.xfrom
oliver-sanders:actions.micromamba

Conversation

@oliver-sanders
Copy link
Copy Markdown
Member

@oliver-sanders oliver-sanders commented Mar 4, 2025

@oliver-sanders oliver-sanders self-assigned this Mar 6, 2025
@oliver-sanders oliver-sanders added this to the 1.5.x milestone Mar 10, 2025

defaults:
run:
shell: bash -elo pipefail {0}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be (like in cylc/cylc-flow#6655)?

Suggested change
shell: bash -elo pipefail {0}
shell: bash -c "exec $CONDA_PREFIX/bin/bash -elo pipefail {0}"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$CONDA_PREFIX/bin/bash points at the bash executable installed by Micromamba.

These Python tests don't have such shell requirements so this PR sticks with using the system installed Bash.

@MetRonnie MetRonnie added the infrastructure GH Actions, Codecov etc. label Mar 11, 2025
@MetRonnie MetRonnie merged commit 3ba19fc into cylc:1.5.x Mar 11, 2025
11 checks passed
@oliver-sanders oliver-sanders deleted the actions.micromamba branch March 11, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure GH Actions, Codecov etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants