From 2d89c019dbc3a9906528b1e731e7386ce03305b4 Mon Sep 17 00:00:00 2001 From: Marton Havasi Date: Wed, 11 Dec 2024 21:32:36 +0000 Subject: [PATCH] path testing --- .github/workflows/notebooks.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/notebooks.yaml b/.github/workflows/notebooks.yaml index a2e7669..483030d 100644 --- a/.github/workflows/notebooks.yaml +++ b/.github/workflows/notebooks.yaml @@ -18,14 +18,10 @@ jobs: - name: Run notebooks shell: bash -l {0} + env: + PYTHONPATH: $PYTHONPATH:$PWD run: | set -e - PYTHONPATH=./ - python -c "import sys; print(sys.path)" - cd examples - python -c "import sys; print(sys.path)" - python -c "import flow_matching; print('flow_matching module imported successfully')" - cd .. - for file in ./*.ipynb; do + for file in examples/*.ipynb; do jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 "$file" done \ No newline at end of file