File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- # R on Spark!
1+ # R on Spark
22
33SparkR is an R package that provides a light-weight frontend to use Spark from R.
44
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments