Skip to content

Commit fa5a57f

Browse files
committed
update docs and tests workflows to install jax dependencies
Also add jax identity example to the docs build
1 parent fd676fa commit fa5a57f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ jobs:
3131

3232
- name: Turn script into notebook
3333
run: |
34-
uv sync --extra docs
34+
uv sync --extra docs --extra torch --extra jax
3535
uv pip install .
3636
uv run python -m ipykernel install --name volara_env --user
3737
uv run jupytext --to notebook ./examples/cremi/cremi.py
38+
uv run jupytext --to notebook ./examples/jax/identity.py
3839
cp -r examples docs/source
3940
4041
- name: Build documentation

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Test with pytest
3939
run: |
40-
uv sync --extra dev --resolution ${{ matrix.resolution }} --python ${{ matrix.python-version}}
40+
uv sync --extra dev --extra torch --extra jax --resolution ${{ matrix.resolution }} --python ${{ matrix.python-version}}
4141
uv run pytest --cov=src tests
4242
4343
- name: Upload coverage to Codecov

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
overview
66
install
77
examples/cremi/cremi
8+
examples/jax/identity
89
api
910

1011
.. include:: ../../README.md

0 commit comments

Comments
 (0)