Skip to content

Commit

Permalink
try to fix testing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Apr 25, 2024
1 parent 9e3374f commit 041761d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- 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/')"
python -c "from nwbinspector.testing import update_testing_config; update_testing_config(key='LOCAL_PATH', value='{nwbinspector.__file__}/204919/testing_files/')"
- name: Uninstall h5py
run: pip uninstall -y h5py
- name: Install ROS3
Expand All @@ -43,7 +43,7 @@ jobs:

- name: Run pytest with coverage
run: |
pytest -rsx --cov=./ --cov-report xml:./nwbinspector/nwbinspector/coverage.xml
pytest -rsx --cov=nwbinspector --cov-report xml:./nwbinspector/nwbinspector/coverage.xml
pytest tests/ -rsx tests/read_nwbfile_tests.py # TODO when read_nwbfile is ported
- if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' }}
name: Upload coverage to Codecov
Expand Down

0 comments on commit 041761d

Please sign in to comment.