Update github actions, copyright date, python versions #20
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: Build the HDMF-Common-Schema and NWB-schema documentation | |
on: | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # tags are required for versioneer to determine version | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
- 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: Install the current hdmf-docutils | |
run: | | |
pip uninstall hdmf-docutils --yes | |
pip install . | |
- 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: Install the current hdmf-docutils | |
run: | | |
pip uninstall hdmf-docutils --yes | |
pip install . | |
- name: Build NWB-Schema Docs | |
run: | | |
cd nwb-schema | |
cd docs/format | |
make clean | |
make html |