Skip to content

Commit 71e24eb

Browse files
authored
Merge testing (#10)
* Change in R * kwargs * Fix more
1 parent b67cdac commit 71e24eb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

R/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# R on Spark!
1+
# R on Spark
22

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

dev/run-tests.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -662,14 +662,13 @@ def main():
662662
changed_files = identify_changed_files_from_git_commits(
663663
os.environ["GITHUB_SHA"], target_ref=os.environ["GITHUB_PREV_SHA"])
664664
print("changed_files : %s" % changed_files)
665-
new_test_modules = list(set(determine_modules_to_test(
666-
determine_modules_for_files(changed_files)), deduplicated=False
667-
).intersection(test_modules))
665+
modules_to_test = determine_modules_to_test(
666+
determine_modules_for_files(changed_files), deduplicated=False)
668667

669-
if modules.root not in new_test_modules:
668+
if modules.root not in modules_to_test:
670669
# If root module does not exist, only test the intersected modules.
671670
# If root module is found, just run the modules as specified initially.
672-
test_modules = new_test_modules
671+
test_modules = list(set(modules_to_test).intersection(test_modules))
673672

674673
print("test_modules : %s" % test_modules)
675674

0 commit comments

Comments
 (0)