Skip to content

Commit 1e2634d

Browse files
committed
Set explicit shell options as default for job + relax NumPy requirement
1 parent ef1ff02 commit 1e2634d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
build:
2626

2727
runs-on: ${{ matrix.os }}
28+
defaults:
29+
run:
30+
shell: bash -el {0}
2831
strategy:
2932
matrix:
3033
python-version: ["3.11", "3.12", "3.13"]
@@ -49,12 +52,11 @@ jobs:
4952

5053
- if: matrix.os == 'macos-latest'
5154
name: Install dependencies with conda on MacOS
52-
shell: bash -el {0}
5355
# Avoid OpenMP runtime incompatibility when using PyPI wheels
5456
# by installing torch and healpy using conda
5557
# https://github.com/healpy/healpy/issues/1012
5658
run: |
57-
conda install jax "jax>=0.3.13,<0.6.0" "numpy>=1.20,<2" ducc0 healpy pytorch pytest pytest-cov
59+
conda install jax "jax>=0.3.13,<0.6.0" "numpy>=1.20" ducc0 healpy pytorch pytest pytest-cov
5860
python -m pip install --upgrade pip
5961
pip install --no-deps so3 pyssht
6062
pip install --no-deps .

0 commit comments

Comments
 (0)