Skip to content

Commit 8716870

Browse files
committed
attempt to fix github action
1 parent ba29b37 commit 8716870

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
install-numba: [0]
8383
install-jax: [0]
8484
install-torch: [0]
85+
install-mlx: [0]
8586
part:
8687
- "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse"
8788
- "tests/scan"
@@ -115,6 +116,7 @@ jobs:
115116
install-numba: 0
116117
install-jax: 0
117118
install-torch: 0
119+
install-mlx: 0
118120
- install-numba: 1
119121
os: "ubuntu-latest"
120122
python-version: "3.10"
@@ -150,6 +152,13 @@ jobs:
150152
fast-compile: 0
151153
float32: 0
152154
part: "tests/link/pytorch"
155+
- install-mlx: 1
156+
os: "ubuntu-latest"
157+
python-version: "3.10"
158+
numpy-version: ">=2.0"
159+
fast-compile: 0
160+
float32: 0
161+
part: "tests/link/mlx"
153162
- os: macos-15
154163
python-version: "3.13"
155164
numpy-version: ">=2.0"
@@ -196,6 +205,7 @@ jobs:
196205
if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" "numba>=0.57"; fi
197206
if [[ $INSTALL_JAX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" jax jaxlib numpyro && pip install tensorflow-probability; fi
198207
if [[ $INSTALL_TORCH == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" pytorch pytorch-cuda=12.1 "mkl<=2024.0" -c pytorch -c nvidia; fi
208+
if [[ $INSTALL_MLX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" mlx; fi
199209
pip install pytest-sphinx
200210
201211
pip install -e ./
@@ -212,6 +222,7 @@ jobs:
212222
INSTALL_NUMBA: ${{ matrix.install-numba }}
213223
INSTALL_JAX: ${{ matrix.install-jax }}
214224
INSTALL_TORCH: ${{ matrix.install-torch}}
225+
INSTALL_MLX: ${{ matrix.install-mlx }}
215226
OS: ${{ matrix.os}}
216227

217228
- name: Run tests

0 commit comments

Comments
 (0)