Skip to content

Commit 454957c

Browse files
authored
Fix for #25437 (#25454)
* fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
1 parent 55db70c commit 454957c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/tests_fetcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,9 @@ def infer_tests_to_run(output_file, diff_with_last_commit=False, filter_models=T
735735

736736
print(f"\n### EXAMPLES TEST TO RUN ###\n{_print_list(examples_tests_to_run)}")
737737
if len(examples_tests_to_run) > 0:
738+
# We use `all` in the case `commit_flags["test_all"]` as well as in `create_circleci_config.py` for processing
739+
if examples_tests_to_run == ["examples"]:
740+
examples_tests_to_run = ["all"]
738741
example_file = Path(output_file).parent / "examples_test_list.txt"
739742
with open(example_file, "w", encoding="utf-8") as f:
740743
f.write(" ".join(examples_tests_to_run))

0 commit comments

Comments
 (0)