Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Run example tests
working-directory: autotest
run: pytest -v test_example_scripts.py -n=auto -s --durations=0 --keep-failed=.failed
run: pytest -v test_example_notebooks.py -n=auto -s --durations=0 --keep-failed=.failed
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
7 changes: 4 additions & 3 deletions autotest/test_example_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def test_notebooks(notebook):
pkg = re.findall("No module named '(.*)'", stderr)[0]
pytest.skip(f"notebook requires package {pkg!r}")

assert returncode == 0, f"could not run {notebook}"
pprint(stdout)
pprint(stderr)
if returncode != 0:
pprint(stdout)
pprint(stderr)
raise ValueError(f"could not run {notebook}")
48 changes: 0 additions & 48 deletions autotest/test_example_scripts.py

This file was deleted.

Loading