Skip to content
Prev Previous commit
Next Next commit
Merge testing (#10)
* Change in R

* kwargs

* Fix more
  • Loading branch information
HyukjinKwon authored Jul 13, 2020
commit 71e24ebfdfb84c175946a7d2f17966e84a1e10c1
2 changes: 1 addition & 1 deletion R/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# R on Spark!
# R on Spark

SparkR is an R package that provides a light-weight frontend to use Spark from R.

Expand Down
9 changes: 4 additions & 5 deletions dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,14 +662,13 @@ def main():
changed_files = identify_changed_files_from_git_commits(
os.environ["GITHUB_SHA"], target_ref=os.environ["GITHUB_PREV_SHA"])
print("changed_files : %s" % changed_files)
new_test_modules = list(set(determine_modules_to_test(
determine_modules_for_files(changed_files)), deduplicated=False
).intersection(test_modules))
modules_to_test = determine_modules_to_test(
determine_modules_for_files(changed_files), deduplicated=False)

if modules.root not in new_test_modules:
if modules.root not in modules_to_test:
# If root module does not exist, only test the intersected modules.
# If root module is found, just run the modules as specified initially.
test_modules = new_test_modules
test_modules = list(set(modules_to_test).intersection(test_modules))

print("test_modules : %s" % test_modules)

Expand Down