Update jax[cpu] requirement from <0.4.13 to <0.4.15 #2905
Workflow file for this run
This file contains 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
# Workflow which runs all Jupyter notebooks of the documentation and fails on errors. | |
name: Jupyter Notebooks | |
on: | |
# Triggers the workflow on push or pull request | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
run_notebooks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get update | |
sudo apt-get install $(cat apt.txt) | |
pip install -r docs/requirements.txt | |
pip install . | |
- name: Execute all notebooks with nbconvert | |
run: | | |
for file in $(find -wholename "./docs/source/**/*.ipynb" -not -path "**/.ipynb_checkpoints/*") | |
do | |
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.kernel_name=python3 $file | |
done |