Apply black code formatting #443
Workflow file for this run
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
name: HDMF Dev Branch Compatibility | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
check_compatibility: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
- name: Install HDMF_Zarr Requirements | |
run: | | |
python -m pip install ".[test]" | |
- name: Clone and Install 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 . | |
cd .. | |
- name: Run HDMF_Zarr Tests | |
run: | |
# specify the tests directory so that we don't run the hdmf tests which are nested | |
# under the same base directory | |
pytest -v tests |