Improve default diagnostics #630
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test-docs | |
| on: | |
| pull_request: | |
| branches: | |
| - dev | |
| - main | |
| jobs: | |
| build_docs: | |
| runs-on: ubuntu-latest | |
| env: | |
| KERAS_BACKEND: "jax" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install .[docs] | |
| python -m pip install jax | |
| - name: Make docs from local state | |
| run: | | |
| cd ./docsrc | |
| make clean | |
| make local-docs | |
| - name: Clean up | |
| run: | | |
| cd ./docsrc | |
| make clean-all |