Skip to content

Commit

Permalink
Create HDMF_dev.yaml (#136)
Browse files Browse the repository at this point in the history
* Create HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml

* Update HDMF_dev.yaml
  • Loading branch information
mavaylon1 authored Nov 1, 2023
1 parent 70bf35b commit efe83d1
Showing 1 changed file with 42 additions and 0 deletions.
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



0 comments on commit efe83d1

Please sign in to comment.