We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5025a5 commit 184d8bfCopy full SHA for 184d8bf
1 file changed
web/notebooks/run_all_nb.sh
@@ -1,7 +1,33 @@
1
#!/bin/bash
2
3
set -e
4
+
5
+# Notebook exceptions: add filenames here to skip them in CI.
6
+# Example:
7
+# SKIP_NOTEBOOKS=(
8
+# "Case_2_DSheetPiling_Tutorial.ipynb"
9
+# )
10
+SKIP_NOTEBOOKS=(
11
+ "Case_2_DSheetPiling_Tutorial.ipynb"
12
+ "Case_3_DSheetPiling_FragilityCurve.ipynb"
13
+)
14
15
+should_skip() {
16
+ local nb="$1"
17
+ for skip_nb in "${SKIP_NOTEBOOKS[@]}"; do
18
+ if [ "$nb" = "$skip_nb" ]; then
19
+ return 0
20
+ fi
21
+ done
22
+ return 1
23
+}
24
25
for nb in *.ipynb; do
26
+ if should_skip "$nb"; then
27
+ echo "Skipping notebook (exception list): $nb"
28
+ continue
29
30
31
echo "##teamcity[testStarted name='$nb']"
32
jupyter-nbconvert --to notebook --ExecutePreprocessor.timeout=-1 --execute $nb
33
echo "##teamcity[testFinished name='$nb']"
0 commit comments