Skip to content

Commit 3a2979f

Browse files
author
Marcelo Vanzin
committed
Always run all tests locally (since code doesn't detect changed modules).
1 parent ef737c0 commit 3a2979f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/run-tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,10 @@ def main():
474474
target_branch = os.environ["ghprbTargetBranch"]
475475
changed_files = identify_changed_files_from_git_commits("HEAD", target_branch=target_branch)
476476
changed_modules = determine_modules_for_files(changed_files)
477+
excluded_tags = determine_tags_to_exclude(changed_modules)
477478
if not changed_modules:
478479
changed_modules = [modules.root]
480+
excluded_tags = []
479481
print("[info] Found the following changed modules:",
480482
", ".join(x.name for x in changed_modules))
481483

@@ -489,7 +491,6 @@ def main():
489491
setup_test_environ(test_environ)
490492

491493
test_modules = determine_modules_to_test(changed_modules)
492-
excluded_tags = determine_tags_to_exclude(changed_modules)
493494

494495
# license checks
495496
run_apache_rat_checks()

0 commit comments

Comments
 (0)