Skip to content

Commit

Permalink
more verbose Jupyter notebook runs on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Jun 3, 2024
1 parent 526b696 commit 100be62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/nestml-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,13 @@ jobs:
ipynb_fns=$(find $GITHUB_WORKSPACE/doc/tutorials -name '*.ipynb')
rc=0
for fn in $ipynb_fns; do
echo "Now running Jupyter notebook: ${fn}"
cd `dirname ${fn}`
ipython3 ${fn} || rc=1
ipython3 ${fn}
if [ $? -ne 0 ]; then
echo "Error running Jupyter notebook: ${fn}"
rc=1
fi
done;
cd $GITHUB_WORKSPACE
exit $rc
Expand Down

0 comments on commit 100be62

Please sign in to comment.