Skip to content

Commit

Permalink
Always run all tests locally (since code doesn't detect changed modul…
Browse files Browse the repository at this point in the history
…es).
  • Loading branch information
Marcelo Vanzin committed Aug 25, 2015
1 parent ef737c0 commit 3a2979f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,10 @@ def main():
target_branch = os.environ["ghprbTargetBranch"]
changed_files = identify_changed_files_from_git_commits("HEAD", target_branch=target_branch)
changed_modules = determine_modules_for_files(changed_files)
excluded_tags = determine_tags_to_exclude(changed_modules)
if not changed_modules:
changed_modules = [modules.root]
excluded_tags = []
print("[info] Found the following changed modules:",
", ".join(x.name for x in changed_modules))

Expand All @@ -489,7 +491,6 @@ def main():
setup_test_environ(test_environ)

test_modules = determine_modules_to_test(changed_modules)
excluded_tags = determine_tags_to_exclude(changed_modules)

# license checks
run_apache_rat_checks()
Expand Down

0 comments on commit 3a2979f

Please sign in to comment.