-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
&felipeangelimvieira, yarnabrina [MNT] CI step to test that notebooks…
… run (#1621) This adds a CI step to run all the tutorial notebooks. The test passes if all tutorial notebooks run without error, and can be used to test the fixes in #1615
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# Script to run all example notebooks. | ||
# copy-paste from sktime's run_examples.sh | ||
set -euxo pipefail | ||
|
||
CMD="jupyter nbconvert --to notebook --inplace --execute --ExecutePreprocessor.timeout=600" | ||
|
||
for notebook in docs/source/tutorials/*.ipynb; do | ||
echo "Running: $notebook" | ||
$CMD "$notebook" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters