Skip to content

Commit

Permalink
Fix hdmf-zarr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Dec 19, 2024
1 parent f6dc806 commit e1527e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/run_hdmf_zarr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10' # use 3.10 until hdmf-zarr updates versioneer.py which breaks on newer python
python-version: '3.13'

- name: Update pip
run: python -m pip install --upgrade pip

- name: Clone HDMF-Zarr and install dev branch of HDMF
run: |
python -m pip list
git clone https://github.com/hdmf-dev/hdmf-zarr.git --recurse-submodules
git clone https://github.com/hdmf-dev/hdmf-zarr.git
cd hdmf-zarr
python -m pip install -r requirements-dev.txt # do not install the pinned install requirements
python -m pip install . # this will install a different version of hdmf from the current one
python -m pip install .[test] # this will install a different version of hdmf from the current one
cd ..
python -m pip uninstall -y hdmf # uninstall the other version of hdmf
python -m pip install . # reinstall current branch of hdmf
Expand All @@ -41,4 +40,4 @@ jobs:
- name: Run HDMF-Zarr tests on HDMF-Zarr dev branch
run: |
cd hdmf-zarr
pytest
pytest -v

0 comments on commit e1527e2

Please sign in to comment.