Merge branch 'main' into rly-patch-1 #73
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: Validate schema | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
validate: | |
# run pipeline on either a push event or a PR event on a fork | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
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: Install dev branch of HDMF | |
run: | | |
pip install git+https://github.com/hdmf-dev/hdmf.git | |
- name: Validate schema specification | |
run: | | |
validate_hdmf_spec common -m hdmf-common.schema.json |