Skip to content

Commit

Permalink
Improve notebook CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg committed Nov 19, 2023
1 parent c8a2fa0 commit c900712
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notebooks_with_irdb_clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
pip install .[dev,test]
- name: Run notebooks
env:
TQDM_MININTERVAL: 3
# TQDM_POSITION: -1
TQDM_MININTERVAL: 8
TQDM_POSITION: -1
run: ./runnotebooks.sh --checkout-irdb --delete
2 changes: 2 additions & 0 deletions runnotebooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ if [[ "x${1}" == "x--clone-irdb" ]] ; then
fi


echo "## Notebooks tested" >> "${GITHUB_STEP_SUMMARY}"
# https://github.com/koalaman/shellcheck/wiki/SC2044
find . -iname "*.ipynb" -print0 | while IFS= read -r -d '' fnnotebook
do
echo "Testing ${fnnotebook}"
echo "- ${fnnotebook}" >> "${GITHUB_STEP_SUMMARY}"
fnpy="${fnnotebook%.ipynb}.py"

# Convert .ipynb file to .py.
Expand Down

0 comments on commit c900712

Please sign in to comment.