Skip to content

Commit

Permalink
Update paths for running examples and executing notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlujan91 committed Nov 20, 2024
1 parent c71b837 commit aea8f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
pip install ".[dev]"
- name: Run examples
run: |
pytest --nbval-lax --nbval-current-env --dist loadscope -n auto examples/
pytest --nbval-lax --nbval-current-env --dist loadscope -n auto docs/examples/
4 changes: 2 additions & 2 deletions .github/workflows/execute-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
python -m pip install ipykernel nbclient nbformat
- name: Strip output
run: nbstripout examples/**/*.ipynb
run: nbstripout docs/examples/**/*.ipynb

# This step takes c. 20 minutes
- name: Execute notebooks
run: python tools/nb_exec.py examples/**/*.ipynb
run: python tools/nb_exec.py docs/examples/**/*.ipynb
env:
PYTHONUNBUFFERED: "1"

Expand Down

0 comments on commit aea8f34

Please sign in to comment.