Skip to content

Commit 7a0af5c

Browse files
committed
Update GitHub action unittest matrix
Adds a JAX 0.7.1, 0.7.2, and nightly version and Python 3.13 and 3.14 to the version lists.
1 parent 8e7ab45 commit 7a0af5c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
python-version: ['3.10', '3.11', '3.12']
27-
jax-version: ['0.5.3', '0.6.0', '0.6.1', '0.6.2', '0.7.0']
26+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
27+
jax-version: ['0.5.3', '0.6.0', '0.6.1', '0.6.2', '0.7.0', '0.7.1', '0.7.2', 'nightly']
2828

2929
exclude:
3030
- python-version: '3.10'
3131
jax-version: '0.7.0'
32+
- python-version: '3.10'
33+
jax-version: '0.7.1'
34+
- python-version: '3.10'
35+
jax-version: '0.7.2'
36+
- python-version: '3.10'
37+
jax-version: 'nightly'
3238
runs-on: ubuntu-latest
3339
timeout-minutes: 30
3440

@@ -44,7 +50,10 @@ jobs:
4450
with:
4551
python-version: ${{ matrix.python-version }}
4652
- run: pip --version
47-
- run: pip install -e . "jax==${{ matrix.jax-version }}"
53+
- if: ${{ matrix.jax-version == 'nightly' }}
54+
run: pip install -e . -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
55+
- if: ${{ matrix.jax-version != 'nightly' }}
56+
run: pip install -e . "jax==${{ matrix.jax-version }}"
4857
- run: pip freeze
4958

5059
# Run tests

0 commit comments

Comments
 (0)