Skip to content

Commit

Permalink
path testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Marton Havasi committed Dec 11, 2024
1 parent 4ddaece commit 7b88600
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,16 @@ jobs:
run: |
python -c "import torch; print('Is CUDA available:', torch.cuda.is_available())"
- name: Import flow_matching
shell: bash -l {0}
working-directory: examples
run: |
PYTHONPATH=../
python -c "import sys; print(sys.path)"
python -c "import flow_matching; print('flow_matching module imported successfully')"
- name: Run notebooks
shell: bash -l {0}
working-directory: examples
run: |
set -e
PYTHONPATH=../
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
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 "$file"
done

0 comments on commit 7b88600

Please sign in to comment.