diff --git a/.github/workflows/notebooks.yaml b/.github/workflows/notebooks.yaml index 56d9ed7..cbf9908 100644 --- a/.github/workflows/notebooks.yaml +++ b/.github/workflows/notebooks.yaml @@ -18,17 +18,15 @@ jobs: - name: Run notebooks shell: bash -l {0} - env: - PYTHONPATH: $PYTHONPATH:asdasd run: | set +e - + export PYTHONPATH=$(PWD):$PYTHONPATH cd examples/ - PYTHONPATH=$PYTHONPATH python -m flow_matching "import flow_matching; print('flow_matching module imported successfully')" - PYTHONPATH=$PYTHONPATH python -c "import flow_matching; print('flow_matching module imported successfully')" - PYTHONPATH=$PYTHONPATH python -c "import sys; print(sys.path)" + 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 - PYTHONPATH=$PYTHONPATH jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 "$file" + jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 "$file" done \ No newline at end of file