Merge pull request #105 from VirtualFlyBrain/gene_functions #299
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: Jupyter Notebook checks | |
on: [push, release] | |
jobs: | |
notebooks: | |
name: "Build the notebooks for the docs" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install -r .github/workflows/requirements.txt | |
- name: Execute the notebooks | |
run: | | |
jupyter nbconvert --to notebook --execute docs/source/tutorials/*.ipynb | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: notebooks-for-${{ github.sha }} | |
path: docs/tutorials | |