Skip to content

Commit

Permalink
make sure to find tutorials folder
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRubenDrauz committed Mar 4, 2024
1 parent 3a9986d commit a9f038d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
python -m pip list
- name: Test with pytest
run: |
python -m pytest --nbmake -n=auto "./tutorials"
python -m pytest --nbmake -n=auto "../tutorials"
docs_check:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/pandapipes/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

test_path = os.path.join(pp_dir, 'test')
data_path = os.path.join(test_path, "data")
tutorials_path = os.path.join(os.path.dirname(pp_dir), 'tutorials')
tutorials_path = os.path.join(os.path.dirname(pp_dir), '..', 'tutorials')
from pandapipes.test.run_tests import *
from pandapipes.test.test_imports import *
from pandapipes.test.test_toolbox import *

0 comments on commit a9f038d

Please sign in to comment.