Skip to content

Commit 65b3563

Browse files
committed
Try using conda-pypi to install dependencies on MacOS
1 parent 6b6d707 commit 65b3563

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,20 @@ jobs:
4141
fetch-tags: true
4242

4343
- if: matrix.os == 'macos-latest'
44-
name: Set up Miniforge
44+
name: Set up Miniforge on MacOS
4545
uses: conda-incubator/setup-miniconda@v3
4646
with:
4747
miniforge-version: latest
4848
python-version: ${{ matrix.python-version }}
4949

5050
- if: matrix.os == 'macos-latest'
51-
name: Install pytorch and healpy with conda on MacOS
51+
name: Install dependencies with conda on MacOS
5252
# Avoid OpenMP runtime incompatibility when using PyPI wheels
5353
# https://github.com/healpy/healpy/issues/1012
54-
run: conda install pytorch healpy
55-
54+
run: |
55+
conda install conda-pypi
56+
conda pip install ".[tests]"
57+
5658
- if: matrix.os != 'macos-latest'
5759
name: Set up Python ${{ matrix.python-version }}
5860
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)