"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "3ea88336769557886f289f3a9356d3cfd380fcd6"
Unverified Commit 2d6839ea authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Add `examples` to tests to run when `setup.py` is modified (#25437)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent e7b001db
......@@ -690,7 +690,7 @@ def infer_tests_to_run(output_file, diff_with_last_commit=False, filter_models=T
# Grab the corresponding test files:
if "setup.py" in modified_files:
test_files_to_run = ["tests"]
test_files_to_run = ["tests", "examples"]
repo_utils_launch = True
else:
# All modified tests need to be 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