fastlane/lib/fastlane/actions/run_tests.rb in fastlane-2.101.1 vs fastlane/lib/fastlane/actions/run_tests.rb in fastlane-2.102.0
- old
+ new
@@ -2,10 +2,11 @@
module Actions
module SharedValues
SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
+ SCAN_ZIP_BUILD_PRODUCTS_PATH = :SCAN_ZIP_BUILD_PRODUCTS_PATH
end
class RunTestsAction < Action
def self.run(values)
require 'scan'
@@ -18,9 +19,12 @@
plist_files_before = test_summary_filenames(values[:derived_data_path])
end
values[:destination] = destination # restore destination value
Scan::Manager.new.work(values)
+
+ zip_build_products_path = Scan.cache[:zip_build_products_path]
+ Actions.lane_context[SharedValues::SCAN_ZIP_BUILD_PRODUCTS_PATH] = zip_build_products_path if zip_build_products_path
return true
rescue FastlaneCore::Interface::FastlaneBuildFailure => ex
# Specifically catching FastlaneBuildFailure to prevent build/compile errors from being
# silenced when :fail_build is set to false