Skip to content

install-cylc-components: respect login shell#100

Merged
MetRonnie merged 6 commits intocylc:v1from
oliver-sanders:login-shell
Mar 10, 2025
Merged

install-cylc-components: respect login shell#100
MetRonnie merged 6 commits intocylc:v1from
oliver-sanders:login-shell

Conversation

@oliver-sanders
Copy link
Copy Markdown
Member

Use a Bash login shell.

This opens up working with Micromamba managed environments.

Checklist

  • I have read the contributing instructions in README.md and have opened this against the correct branch & milestone

Copy link
Copy Markdown
Member

@MetRonnie MetRonnie left a comment

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

@oliver-sanders oliver-sanders left a comment

Choose a reason for hiding this comment

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

Will give this a try with the downstream PRs.

Test: oliver-sanders/cylc-rose#5

Copy link
Copy Markdown
Member Author

@oliver-sanders oliver-sanders left a comment

Choose a reason for hiding this comment

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

Hmmm. The action is running fine, but errors are appearing downstream (which doesn't make sense).

Can see some set -u error coming from profile.d stuff (which we have no control over), will try without 🤷 .

That seems to have worked: https://github.com/oliver-sanders/cylc-rose/actions/runs/13674608714/job/38232630689?pr=5

@oliver-sanders oliver-sanders requested a review from MetRonnie March 5, 2025 11:18
@oliver-sanders oliver-sanders marked this pull request as ready for review March 5, 2025 11:18
@MetRonnie
Copy link
Copy Markdown
Member

MetRonnie commented Mar 5, 2025

Actually would it be worth adding a test for this to?

name: Test
# Limited unit testing of the actions

@oliver-sanders
Copy link
Copy Markdown
Member Author

@MetRonnie, added a simple test.

@oliver-sanders oliver-sanders self-assigned this Mar 6, 2025
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
@MetRonnie MetRonnie merged commit 09a3b75 into cylc:v1 Mar 10, 2025
7 checks passed
@oliver-sanders oliver-sanders deleted the login-shell branch March 10, 2025 16:42
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.

2 participants