Skip to content

Commit

Permalink
[FIX] Test submodule import
Browse files Browse the repository at this point in the history
Add a test for submodule import. Fix for the main package follows.
  • Loading branch information
liuzhenqi77 authored Dec 14, 2023
1 parent 9a0b149 commit c26e066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
run: python -m pip install -e .
- name: Print neuromaps version
run: python -c "import neuromaps; print(neuromaps.__version__)"
- name: Test submodule import
run: |
cd ..
python -c "from neuromaps import parcellate; from neuromaps.datasets import available_annotations"
- name: Run tests
run: pytest --doctest-modules --cov=neuromaps --cov-report=xml --junitxml=junit/test-results.xml --verbose --pyargs neuromaps
- uses: codecov/codecov-action@v3
Expand Down

0 comments on commit c26e066

Please sign in to comment.