Skip to content

Commit 28fca7e

Browse files
committed
Fix pytorch conda package name and skip PyPI dependency install on MacOS
1 parent 06dc7f9 commit 28fca7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# by installing torch and healpy using conda
5454
# https://github.com/healpy/healpy/issues/1012
5555
run: |
56-
conda install jax "jax>=0.3.13,<0.6.0" "numpy>=1.20,<2" ducc0 healpy torch pytest pytest-cov
56+
conda install jax "jax>=0.3.13,<0.6.0" "numpy>=1.20,<2" ducc0 healpy pytorch pytest pytest-cov
5757
python -m pip install --upgrade pip
5858
pip install --no-deps so3 pyssht
5959
pip install --no-deps .
@@ -65,7 +65,8 @@ jobs:
6565
python-version: ${{ matrix.python-version }}
6666
cache: pip
6767

68-
- name: Install dependencies
68+
- if: matrix.os != 'macos-latest'
69+
name: Install dependencies
6970
run: |
7071
python -m pip install --upgrade pip
7172
pip install .[tests]

0 commit comments

Comments
 (0)