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