Skip to content

Commit 6efa735

Browse files
committed
Update GitHub action unittest matrix
Adds a JAX nightly version and Python 3.13 and 3.14 to the version lists.
1 parent 6f482ed commit 6efa735

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ 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', '0.7.1', '0.7.2']
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'
@@ -33,6 +33,8 @@ jobs:
3333
jax-version: '0.7.1'
3434
- python-version: '3.10'
3535
jax-version: '0.7.2'
36+
- python-version: '3.10'
37+
jax-version: 'nightly'
3638
runs-on: ubuntu-latest
3739
timeout-minutes: 30
3840

@@ -48,7 +50,10 @@ jobs:
4850
with:
4951
python-version: ${{ matrix.python-version }}
5052
- run: pip --version
51-
- 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 }}"
5257
- run: pip freeze
5358

5459
# Run tests

0 commit comments

Comments
 (0)