Skip to content

Commit

Permalink
Install Miniconda.
Browse files Browse the repository at this point in the history
Update hard-coded CI miniconda base location
  • Loading branch information
mrclary committed Nov 4, 2024
1 parent e0fd665 commit 9c00dd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ jobs:
with:
path: ~/Library/Caches/pip
key: ${{ runner.os }}-cachepip-install${{ matrix.INSTALL_TYPE }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}
- name: Install Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: false
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Create conda test environment
uses: mamba-org/setup-micromamba@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion spyder/utils/tests/test_programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
if sys.platform.startswith('linux'):
home_dir = '/usr/share/miniconda/'
else:
home_dir = '/usr/local/miniconda/'
home_dir = "/Users/runner/miniconda3"

VALID_INTERPRETER = os.path.join(home_dir, 'bin', 'python')
VALID_W_INTERPRETER = os.path.join(home_dir, 'bin', 'pythonw')
Expand Down

0 comments on commit 9c00dd8

Please sign in to comment.