From e1527e2625054b8e4008934f9bcb7ff1ca27a573 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Thu, 19 Dec 2024 15:19:46 -0800 Subject: [PATCH] Fix hdmf-zarr workflow --- .github/workflows/run_hdmf_zarr_tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_hdmf_zarr_tests.yml b/.github/workflows/run_hdmf_zarr_tests.yml index 5e76711af..6eb5546ab 100644 --- a/.github/workflows/run_hdmf_zarr_tests.yml +++ b/.github/workflows/run_hdmf_zarr_tests.yml @@ -21,7 +21,7 @@ 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 @@ -29,10 +29,9 @@ jobs: - 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 @@ -41,4 +40,4 @@ jobs: - name: Run HDMF-Zarr tests on HDMF-Zarr dev branch run: | cd hdmf-zarr - pytest + pytest -v