From 954945132a1b9f9147b8f5887add549e1f905dd0 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:07:16 -0700 Subject: [PATCH 01/13] Create HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/HDMF_dev.yaml diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml new file mode 100644 index 00000000..51c6ec64 --- /dev/null +++ b/.github/workflows/HDMF_dev.yaml @@ -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/cancel-workflow-action@0.11.0 + 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 + + + From a7c16a1851a8e8f2f31e4f55a5137902e01f84b2 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:10:06 -0700 Subject: [PATCH 02/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 51c6ec64..68e2d28c 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -29,6 +29,7 @@ jobs: 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: From 99e1de6c854c671f06127c2d0b4fe796c1d92394 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:13:26 -0700 Subject: [PATCH 03/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 68e2d28c..2313190b 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -33,7 +33,8 @@ jobs: - name: Run HDMF_Zarr Tests run: - pytest + ls + pytest -v From 37010a50019d2b67985b798154970836cf64d918 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:15:21 -0700 Subject: [PATCH 04/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 2313190b..6d35a46a 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -34,7 +34,7 @@ jobs: - name: Run HDMF_Zarr Tests run: ls - pytest -v + # pytest -v From 0ef0fa63baf001a74a8b5540776139c2ca834115 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:18:15 -0700 Subject: [PATCH 05/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 6d35a46a..af3f08ba 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -33,8 +33,7 @@ jobs: - name: Run HDMF_Zarr Tests run: - ls - # pytest -v + pytest -v From 0717b45eead5af79514b6b9308e515fced19f1fd Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:21:52 -0700 Subject: [PATCH 06/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index af3f08ba..bbd2b8fa 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -23,13 +23,13 @@ jobs: 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 . - cd .. + # - 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: From 0d785ed16a120b18f2084412dfee07e3be271021 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:28:21 -0700 Subject: [PATCH 07/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index bbd2b8fa..d2825111 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -22,14 +22,15 @@ jobs: - name: Install HDMF_Zarr Requirements run: | python -m pip install -r requirements-dev.txt -r requirements.txt + python -m 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: 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: From e37fe19b1f67731f83a5c8dd242915a80a5d477e Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:30:32 -0700 Subject: [PATCH 08/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index d2825111..67ea2cee 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -34,7 +34,7 @@ jobs: - name: Run HDMF_Zarr Tests run: - pytest -v + pytest tests From 01e278342dda8c2966bdee0df27239ae9f8418e8 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:34:30 -0700 Subject: [PATCH 09/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 67ea2cee..0e933565 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -22,7 +22,6 @@ jobs: - name: Install HDMF_Zarr Requirements run: | python -m pip install -r requirements-dev.txt -r requirements.txt - python -m pip install -e . - name: Clone HDMF Dev Branch run: | From 4069b5b4b9083edc6965084d8f388a7959d42d5b Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:36:38 -0700 Subject: [PATCH 10/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 0e933565..8956f1c0 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -22,6 +22,7 @@ jobs: - 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: | From 23994a55586499fa6d2804044ef1719cc2bf35f8 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:37:54 -0700 Subject: [PATCH 11/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 8956f1c0..0e2ccd40 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -34,7 +34,7 @@ jobs: - name: Run HDMF_Zarr Tests run: - pytest tests + pytest -v tests From c30ff7e550322595a4fe1b2046c707e811ed6c8a Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 12:30:08 -0700 Subject: [PATCH 12/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 0e2ccd40..ecd9e0cd 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -13,6 +13,9 @@ jobs: access_token: ${{ github.token }} - uses: actions/checkout@v4 + with: + submodules: 'recursive' + fetch-depth: 0 # tags are required for versioneer to determine the version - name: Set up Python 3.11 uses: actions/setup-python@v4 From 5185146749077002caef3e257f1dd4a4ab540d27 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 12:31:08 -0700 Subject: [PATCH 13/13] Update HDMF_dev.yaml --- .github/workflows/HDMF_dev.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index ecd9e0cd..075d8872 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -14,7 +14,6 @@ jobs: - uses: actions/checkout@v4 with: - submodules: 'recursive' fetch-depth: 0 # tags are required for versioneer to determine the version - name: Set up Python 3.11