Skip to content

Commit 22dc2f1

Browse files
committed
update
1 parent 4e41c93 commit 22dc2f1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.jenkins/get_sphinx_filenames.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from pathlib import Path
22
from typing import List
3+
34
from get_files_to_run import get_all_files
45
from validate_tutorials_built import NOT_RUN
56

.jenkins/validate_tutorials_built.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
"intermediate_source/text_to_speech_with_torchaudio",
5454
]
5555

56-
FOR_SPHINX = [f"/{x}\.py" for x in NOT_RUN]
57-
5856

5957
def tutorial_source_dirs() -> List[Path]:
6058
return [
@@ -81,7 +79,7 @@ def main() -> None:
8179
if (
8280
"Total running time of the script: ( 0 minutes 0.000 seconds)"
8381
in elem.text
84-
and all(html_file_path not in x for x in should_not_run)
82+
and not any(html_file_path.match(file) for file in should_not_run)
8583
):
8684
did_not_run.append(html_file_path.as_posix())
8785

0 commit comments

Comments
 (0)