From 454957c9bb5e8270c384ad46a1bb96928997c249 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:39:57 +0200 Subject: [PATCH] Fix for #25437 (#25454) * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh --- utils/tests_fetcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/tests_fetcher.py b/utils/tests_fetcher.py index aee7a3cbb5..5d0518b00f 100644 --- a/utils/tests_fetcher.py +++ b/utils/tests_fetcher.py @@ -735,6 +735,9 @@ def infer_tests_to_run(output_file, diff_with_last_commit=False, filter_models=T print(f"\n### EXAMPLES TEST TO RUN ###\n{_print_list(examples_tests_to_run)}") if len(examples_tests_to_run) > 0: + # We use `all` in the case `commit_flags["test_all"]` as well as in `create_circleci_config.py` for processing + if examples_tests_to_run == ["examples"]: + examples_tests_to_run = ["all"] example_file = Path(output_file).parent / "examples_test_list.txt" with open(example_file, "w", encoding="utf-8") as f: f.write(" ".join(examples_tests_to_run))