Skip to content

Commit 03c26b5

Browse files
authored
Update GitHub action unittest matrix (#111)
Adds a JAX 0.7.1, 0.7.2, and nightly version and Python 3.13 to the version lists.
1 parent 8e7ab45 commit 03c26b5

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 4 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']
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

@@ -40,11 +46,14 @@ jobs:
4046
- uses: actions/checkout@v4
4147

4248
# Install deps
43-
- uses: actions/setup-python@v5
49+
- uses: actions/setup-python@v6
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)