New api for html file #149
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
name: Test notebooks | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install LaTeX support for matplotlib | |
run: | | |
sudo apt update | |
sudo apt install -y ghostscript dvipng texlive-full | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r .binder/requirements.txt | |
pip install jupyter | |
- name: Execute notebooks | |
run: | | |
for f in *.ipynb; do echo "Processing $f file.."; time jupyter nbconvert --to notebook --ExecutePreprocessor.timeout=600 --inplace --execute $f;done; |