Skip to content

Commit

Permalink
Merge pull request #526 from google:doc4
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 562759212
  • Loading branch information
JAXopt authors committed Sep 5, 2023
2 parents 5bf8d3d + 451928f commit c6d51d4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,29 @@ jobs:
python -c "import jaxlib; print('jaxlib', jaxlib.__version__)"
pytest tests
shell: bash


build-and-test-docs:
name: "Build documentation"
runs-on: ubuntu-latest
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
if: ${{github.ref != 'refs/heads/main'}}
- uses: "actions/checkout@v3"
- name: Set up Python 3.11
uses: "actions/setup-python@v4"
with:
python-version: 3.11
- name: Install dependencies
run: |
set -xe
pip install --upgrade pip setuptools wheel
pip install -r docs/requirements.txt
- name: Build documentation
run: |
set -xe
python -VV
cd docs && make clean && make html
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ sphinx-remove-toctrees>=0.0.3
jupyter-sphinx>=0.3.2
myst-nb
tensorflow-datasets
tensorflow
dm-haiku
flax
jupytext
scikit-learn

0 comments on commit c6d51d4

Please sign in to comment.