Skip to content

Commit

Permalink
Create validate_schema.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Aug 25, 2023
1 parent 5b4cbb3 commit b6da5ed
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/validate_schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Validate HDMF Dev Compatibility

on: [push, pull_request, workflow_dispatch]

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
- 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
pip install pytest
- name: Run HDMF tests
run: |
cd hdmf
pytest tests/unit/common/

0 comments on commit b6da5ed

Please sign in to comment.