-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into add_missing_api_docs
- Loading branch information
Showing
99 changed files
with
2,589 additions
and
1,532 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ body: | |
label: Python Version | ||
options: | ||
- earlier | ||
- 3.8 | ||
- 3.9 | ||
- "3.10" | ||
- "3.11" | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Test against DANDI dev branch - all tests, including live services | ||
on: workflow_call | ||
|
||
jobs: | ||
build-and-test: | ||
name: Testing against current DANDI release and dev branch | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout local branch of source repository | ||
uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow --tags | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Test against DANDI dev | ||
run: | | ||
pip install virtualenv | ||
virtualenv --system-site-packages --python=python3 venvs/dandi_dev_tests | ||
source venvs/dandi_dev_tests/bin/activate | ||
pip install -e .[dandi] | ||
cd .. | ||
git clone https://github.com/dandi/dandi-cli | ||
cd dandi-cli | ||
pip install -e .[test] | ||
pip install hdmf==3.14.3 # temporary: https://github.com/dandi/dandi-cli/issues/1494 | ||
pytest -vv |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Test against DANDI dev branch - no network | ||
on: workflow_call | ||
|
||
env: | ||
DANDI_TESTS_NONETWORK: "1" | ||
|
||
jobs: | ||
build-and-test: | ||
name: Testing against current DANDI release and dev branch | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout local branch of source repository | ||
uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow --tags | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Test local branch of NWB Inspector against DANDI dev branch | ||
run: | | ||
pip install virtualenv | ||
virtualenv --system-site-packages --python=python3 venvs/dandi_dev_tests | ||
source venvs/dandi_dev_tests/bin/activate | ||
pip install -e .[dandi] | ||
cd .. | ||
git clone https://github.com/dandi/dandi-cli | ||
cd dandi-cli | ||
pip install -e .[test] | ||
pip install hdmf==3.14.3 # temporary: https://github.com/dandi/dandi-cli/issues/1494 | ||
pytest -rsx |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
name: Development Version Gallery | ||
on: workflow_call | ||
|
||
env: | ||
TESTING_FILES_FOLDER_PATH: ./204919/testing_files/ | ||
|
||
jobs: | ||
build-and-test: | ||
name: Testing against dev PyNWB version | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: s-weigand/setup-conda@v1 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow --tags | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
update-conda: true | ||
python-version: 3.9 | ||
conda-channels: conda-forge | ||
- uses: actions/checkout@v3 | ||
- run: git fetch --prune --unshallow --tags | ||
|
||
- name: Install ROS3 | ||
run: conda install -c conda-forge h5py | ||
- name: Install pytest | ||
run: | | ||
pip install pytest | ||
pip install pytest-cov | ||
- name: Install package | ||
run: | | ||
pip install -e ".[dandi]" | ||
pip install git+https://github.com/neurodatawithoutborders/pynwb@dev | ||
- name: Download testing data and set config path | ||
run: | | ||
dandi download "https://gui-staging.dandiarchive.org/#/dandiset/204919" | ||
python -c "from nwbinspector.testing import update_testing_config; update_testing_config(key='LOCAL_PATH', value='./204919/testing_files/')" | ||
run: dandi download "https://gui-staging.dandiarchive.org/#/dandiset/204919" | ||
|
||
- name: Run pytest with coverage | ||
- name: Run pytest | ||
run: pytest -rsx |
Oops, something went wrong.