Skip to content

Workflow and azure updates #4

Workflow and azure updates

Workflow and azure updates #4

Workflow file for this run

name: Add Check for the HDMF-Common-Schema and NWB-schema doc builds
on:
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Clone HDMF-Common-Schema and Install Requirements
run: |
git clone https://github.com/hdmf-dev/hdmf-common-schema.git
cd hdmf-common-schema
python -m pip install -r requirements-doc.txt
- name: Build HDMF-Common-Schema Docs
run: |
cd hdmf-common-schema
cd docs
make clean
make html
- name: Clone NWB-Schema and Install Requirements
run: |
git clone https://github.com/NeurodataWithoutBorders/nwb-schema.git
cd nwb-schema
python -m pip install -r requirements-doc.txt
- name: Build NWB-Schema Docs
run: |
cd nwb-schema
cd docs/format
make clean
make html