diff --git a/.github/workflows/run_tests_develop.yml b/.github/workflows/run_tests_develop.yml index acf46022..4f379dc9 100644 --- a/.github/workflows/run_tests_develop.yml +++ b/.github/workflows/run_tests_develop.yml @@ -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 diff --git a/src/pandapipes/test/__init__.py b/src/pandapipes/test/__init__.py index 3b8e845a..ed03a51e 100644 --- a/src/pandapipes/test/__init__.py +++ b/src/pandapipes/test/__init__.py @@ -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 *