Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create HDMF_dev.yaml #136

Merged
merged 13 commits into from
Nov 1, 2023
42 changes: 42 additions & 0 deletions .github/workflows/HDMF_dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: HDMF Dev Branch Compatibility

on: [pull_request, workflow_dispatch]

jobs:
check_compatibility:
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@v4
with:
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install HDMF_Zarr Requirements
run: |
python -m pip install -r requirements-dev.txt -r requirements.txt
pip install -e .

- name: Clone HDMF Dev Branch
run: |
git clone https://github.com/hdmf-dev/hdmf.git --recurse-submodules
cd hdmf
python -m pip install -r requirements-dev.txt -r requirements.txt
python -m pip install -e .
cd ..

- name: Run HDMF_Zarr Tests
run:
pytest -v tests



Loading