Skip to content

Commit 92c4916

Browse files
committed
adding pytest exit code
1 parent d0e0906 commit 92c4916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test_notebooks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ def reduce_notebook_load(path):
9090
notebooks.append(reduce_notebook_load(n))
9191

9292
# testing all tests from the notebooks list
93-
pytest.main(["--nbval-lax", "--nbval-cell-timeout", "7200", "-vs"] + notebooks)
94-
93+
pytest_exit_code = pytest.main(["--nbval-lax", "--nbval-cell-timeout", "7200", "-vs"] + notebooks)
94+
sys.exit(pytest_exit_code)

0 commit comments

Comments
 (0)