Unverified Commit cf32c941 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Run all tests if `circleci/create_circleci_config.py` is modified (#27413)



* fix

* fix

---------
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 740cd935
...@@ -948,7 +948,7 @@ def infer_tests_to_run( ...@@ -948,7 +948,7 @@ def infer_tests_to_run(
print(f"\n### IMPACTED FILES ###\n{_print_list(impacted_files)}") print(f"\n### IMPACTED FILES ###\n{_print_list(impacted_files)}")
# Grab the corresponding test files: # Grab the corresponding test files:
if "setup.py" in modified_files: if any(x in modified_files for x in ["setup.py", ".circleci/create_circleci_config.py"]):
test_files_to_run = ["tests", "examples"] test_files_to_run = ["tests", "examples"]
repo_utils_launch = True repo_utils_launch = True
# in order to trigger pipeline tests even if no code change at all # in order to trigger pipeline tests even if no code change at all
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment