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

Trigger CI if `tiny_model_summary.json` is modified (#27175)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 2963e196
......@@ -949,6 +949,10 @@ def infer_tests_to_run(
if "setup.py" in modified_files:
test_files_to_run = ["tests", "examples"]
repo_utils_launch = True
# in order to trigger pipeline tests even if no code change at all
elif "tests/utils/tiny_model_summary.json" in modified_files:
test_files_to_run = ["tests"]
repo_utils_launch = any(f.split(os.path.sep)[0] == "utils" for f in modified_files)
else:
# All modified tests need to be run.
test_files_to_run = [
......
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