fix: macOS CI - replace missing $CONDA with setup-miniconda action - #3
Merged
Merged
Conversation
The macOS GitHub Actions runner no longer provides conda pre-installed
via the $CONDA environment variable, causing 'conda: command not found'.
Replace the manual $CONDA path approach and actions/setup-python with
conda-incubator/setup-miniconda@v3 which installs conda reliably.
Also add the required 'bash -el {0}' shell for conda environment
activation in subsequent steps.
Copilot
AI
changed the title
[WIP] Fix the failing GitHub Actions job build-mac
fix: macOS CI - replace missing $CONDA with setup-miniconda action
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
build-macCI job was failing because macOS GitHub-hosted runners no longer pre-install Miniconda, so$CONDAis unset andconda: command not found(exit 127).Changes
python-package-conda-macos-py39.ymlactions/setup-python+ manualecho $CONDA/bin >> $GITHUB_PATHwithconda-incubator/setup-miniconda@v3, which installs conda reliably across all runnersconda install python=3.8(version now set viasetup-minicondainput)shell: bash -el {0}to downstream steps (required for conda env activation)