improve links to DynamicTable API docs #1445
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: Run PyNWB tests | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 5 * * *' # once per day at midnight ET | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
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@v3 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 # tags are required for versioneer to determine the version | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Update pip | |
run: python -m pip install --upgrade pip | |
- name: Clone PyNWB and install dev branch of HDMF | |
run: | | |
python -m pip list | |
git clone https://github.com/NeurodataWithoutBorders/pynwb.git --recurse-submodules | |
cd pynwb | |
python -m pip install -r requirements-dev.txt -r requirements.txt | |
# must install in editable mode for coverage to find sources | |
python -m pip install -e . # this will install a pinned version of hdmf instead of the current one | |
cd .. | |
python -m pip uninstall -y hdmf # uninstall the pinned version of hdmf | |
python -m pip install . # reinstall current branch of hdmf | |
python -m pip list | |
- name: Run PyNWB tests on PyNWB dev branch | |
run: | | |
cd pynwb | |
python test.py -v |