Skip to content

Commit 9eec84c

Browse files
committed
update
1 parent f2c3cd7 commit 9eec84c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.jenkins/get_files_to_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
from pathlib import Path
55
from remove_runnable_code import remove_runnable_code
6+
from validate_tutorials_built import NOT_RUN
67

78

89
# Calculate repo base dir
@@ -96,6 +97,7 @@ def main() -> None:
9697

9798
all_files = get_all_files()
9899
files_to_run = calculate_shards(all_files, num_shards=args.num_shards)[args.shard_num - 1]
100+
files_to_run = [x for x in files_to_run if x not in NOT_RUN]
99101
if not args.dry_run:
100102
remove_other_files(all_files, compute_files_to_keep(files_to_run))
101103
stripped_file_names = [Path(x).stem for x in files_to_run]

0 commit comments

Comments
 (0)