File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then
139
139
140
140
# Step 5: Remove INVISIBLE_CODE_BLOCK from .html/.rst.txt/.ipynb/.py files
141
141
bash $DIR /remove_invisible_code_block_batch.sh docs
142
+ python .jenkins/validate_tutorials_built.py docs
142
143
143
144
# Step 6: Copy generated HTML files and static files to S3
144
145
7z a manager.7z docs
Original file line number Diff line number Diff line change @@ -88,13 +88,18 @@ def main():
88
88
if (
89
89
"Total running time of the script: ( 0 minutes 0.000 seconds)"
90
90
in elem .text
91
- and not any (html_file_path .endswith (file ) for file in KNOWN_BAD + OK_TO_NOT_RUN )
91
+ and not any (
92
+ html_file_path .endswith (file ) for file in KNOWN_BAD + OK_TO_NOT_RUN
93
+ )
92
94
):
93
95
did_not_run .append (html_file_path )
94
96
95
97
if len (did_not_run ) != 0 :
96
98
raise RuntimeError (
97
- f"File(s) { ' ' .join (did_not_run )} are not known bad but ran in 0.000 sec, meaning that any python code in this tutorial probably didn't run"
99
+ "The following file(s) are not known bad but ran in 0.000 sec, meaning that any "
100
+ + "python code in this tutorial probably didn't run:\n {}" .format (
101
+ "\n " .join (did_not_run )
102
+ )
98
103
)
99
104
100
105
You can’t perform that action at this time.
0 commit comments