Create validate_schema.yml #1
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: 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/ |