From 954945132a1b9f9147b8f5887add549e1f905dd0 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Wed, 1 Nov 2023 10:07:16 -0700 Subject: [PATCH] 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 + + +