Workflow and azure updates #8
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: 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 | |
with: | |
fetch-depth: 0 | |
- 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 | |