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 4e41c93 commit 22dc2f1Copy full SHA for 22dc2f1
.jenkins/get_sphinx_filenames.py
@@ -1,5 +1,6 @@
1
from pathlib import Path
2
from typing import List
3
+
4
from get_files_to_run import get_all_files
5
from validate_tutorials_built import NOT_RUN
6
.jenkins/validate_tutorials_built.py
@@ -53,8 +53,6 @@
53
"intermediate_source/text_to_speech_with_torchaudio",
54
]
55
56
-FOR_SPHINX = [f"/{x}\.py" for x in NOT_RUN]
57
-
58
59
def tutorial_source_dirs() -> List[Path]:
60
return [
@@ -81,7 +79,7 @@ def main() -> None:
81
79
if (
82
80
"Total running time of the script: ( 0 minutes 0.000 seconds)"
83
in elem.text
84
- and all(html_file_path not in x for x in should_not_run)
+ and not any(html_file_path.match(file) for file in should_not_run)
85
):
86
did_not_run.append(html_file_path.as_posix())
87
0 commit comments