Skip to content

Commit a767833

Browse files
committed
BUG: we should return on the pytest exitval
1 parent 650227b commit a767833

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ done
2929

3030
pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10
3131

32+
_exitval="$?"
33+
34+
if [ $_exitval > 0 ]; then
35+
exit $_exitval
36+
fi
37+
3238
# Clean up ipynb files that were converted. Any stray ipynb files that were
3339
# _not_ the result of conversion from Markdown will be left alone.
3440
for file in "${notebook_files[@]}"; do

0 commit comments

Comments
 (0)