-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add a macOS worker to the CI #550
Conversation
The setup-miniconda stage failed with
|
🤞 looking forward to this one! |
This is built on conda-incubator#549 but I've made in a separate PR because I'm not sure if there will be other issues here and I don't want to block that PR on this (but at the same time, tests won't pass on Mac without the changes from that PR). See conda-incubator#513 and conda-incubator#507
@asmeurer is there anything else that needs doing? |
The CI is failing in the initial setup stage of setup-miniconda. I'm not sure why. Since the error occurs in the setup stage, it seems like it would be an issue with setup-miniconda itself. And I haven't changed any part of that in the CI config, all I did was add macos as a platform to the matrix. It would help if someone more familiar with that could take a look (like Jaime, or if he is available, Gonzalo since he seems to be the main maintainer of setup-miniconda). I can't really do much until the CI works, but I expect that things ought to pass once they do, since the tests working for me locally on my Mac. |
✅ Deploy Preview for kaleidoscopic-dango-0cf31d canceled.
|
This is working now. I believe the test failure is the one I noted on Slack (I'll open an issue later), which is related to the paths being too long. |
Oh actually the one I posted on Slack is different. I get that locally but it doesn't happen on CI. The issue here is I just need to disable Docker from being tested on Mac. |
@@ -26,14 +25,23 @@ jobs: | |||
- name: "Checkout Repository" | |||
uses: actions/checkout@v4 | |||
|
|||
- name: Set up Python | |||
- name: Set up Python (Linux) | |||
if: matrix.os == 'ubuntu-latest' | |||
uses: conda-incubator/setup-miniconda@v2 | |||
with: | |||
mamba-version: "*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@trallard is removing this what you had in mind? It seems to work. The install on CI is a few minutes slower but I'm not sure if it's significant enough to worry about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, need to use mamba only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is doing the opposite, using conda only and not using mamba at all. But like I said, it's not that much slower.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and CI is passing now so will merge
Description
This is built on #549 but I've made in a separate PR because I'm not sure if there will be other issues here and I don't want to block that PR on this (but at the same time, tests won't pass on Mac without the changes from that PR).
See #513 and #507
Pull request checklist
Additional information