Skip to content

Merge pull request #195 from AllenInstitute/dev #323

Merge pull request #195 from AllenInstitute/dev

Merge pull request #195 from AllenInstitute/dev #323

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }}
steps:
- uses: actions/checkout@v3
- name: Upgrading pip
run: pip install --upgrade pip
- name: print environment
run: pip freeze
- name: Installing requirements
run: pip install -r ./requirements.txt --user
- name: Installing build dependencies
run: |
pip install markupsafe==2.0.1
pip install jupyter
pip install -U jupyter-book
pip install nbmake
- name: Testing notebooks
run: pytest --nbmake --nbmake-timeout=5000 "./docs"
- name: Build Jupyter book
run: |
jupyter-book clean ./docs
jupyter-book build ./docs