Skip to content

Commit

Permalink
try poetry run prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCourier committed Nov 21, 2023
1 parent d73e2c4 commit 6e9d3d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/examples_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ jobs:
make full;
pip install openai==0.28.1 jupyter nbconvert;
# pip install openai==0.28.1 jupyter nbconvert 'pypdfium2>=4.23.1';
pip install .;
# pip install .;
- name: Check for pypdfium2
run: pip show pypdfium2
run: poetry run pip show pypdfium2

- name: Execute notebooks and check for errors
run: |
cd docs/examples
for notebook in $(ls *.ipynb); do
jupyter nbconvert --to notebook --execute "$notebook"
poetry run jupyter nbconvert --to notebook --execute "$notebook"
if [ $? -ne 0 ]; then
echo "Error found in $notebook"
exit 1
Expand Down

0 comments on commit 6e9d3d5

Please sign in to comment.