-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Create HDMF_dev.yaml
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 | ||
|
||
- 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 | ||
- 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 . | ||
- name: Run HDMF_Zarr Tests | ||
run: | ||
pytest | ||
|
||
|
||
|