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

Github Actions failure: macos " No installed conda 'base' environment found at !" #801

Merged
merged 5 commits into from
May 2, 2024

Conversation

mathieuboudreau
Copy link
Member

@mathieuboudreau mathieuboudreau commented May 2, 2024

Checklist

  • I've given this PR a concise, self-descriptive, and meaningful title
  • I've linked relevant issues in the PR body
  • I've applied the relevant labels to this PR
  • I've added relevant tests for my contribution
  • I've updated the documentation and/or added correct docstrings
  • I've assigned a reviewer
  • I've consulted ADS's internal developer documentation to ensure my contribution is in line with any relevant design decisions

Description

We've recently started getting this failure on the macos CI:

Error: No installed conda 'base' environment found at !If you are using this action in a self-hosted runner that already provides its own Miniconda installation, please specify its location with a `CONDA` environment variable. If you want us to download and install Miniconda or Miniforge for you, add `miniconda-version: "latest"` or `miniforge-version: "latest"`, respectively, to the parameters for this action.

https://github.com/axondeepseg/axondeepseg/actions/runs/8918691441/job/24493688432

Linked issues

@mathieuboudreau mathieuboudreau marked this pull request as draft May 2, 2024 07:51
@mathieuboudreau mathieuboudreau changed the title Github Actions failure: python " No installed conda 'base' environment found at !" Github Actions failure: macos " No installed conda 'base' environment found at !" May 2, 2024
@mathieuboudreau
Copy link
Member Author

Here's the cause that was reported: conda-incubator/setup-miniconda#344

@mathieuboudreau
Copy link
Member Author

Seems like forcing the mac runner to version 12 instead of latest did the trick (not sure why 13 didn't). This is a temporary fix until they resolve it on the conda-incubator/setup-miniconda#344 side

@mathieuboudreau
Copy link
Member Author

In terms of the required checks, the only options available were macos-latest or macos-13, so I disabled the macos matrix test as a required check for now; we'll need to reinstate it when we can set it to latest again

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8920573218

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.982%

Totals Coverage Status
Change from base Build 8738986202: 0.0%
Covered Lines: 1163
Relevant Lines: 1307

💛 - Coveralls

Copy link
Member

@Stoyan-I-A Stoyan-I-A left a comment

Choose a reason for hiding this comment

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

Approving for now. We'll have to investigate how to add back the latest os in the future.

@mathieuboudreau mathieuboudreau merged commit 0a5cf54 into master May 2, 2024
5 checks passed
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.

None yet

3 participants