From 9074347edb87c462c3309c62c433781c06ffe509 Mon Sep 17 00:00:00 2001 From: Ilias Pavlidakis Date: Wed, 6 Nov 2024 15:44:43 +0200 Subject: [PATCH] [CI]Parallelize LLC tests --- StreamVideo.xcodeproj/project.pbxproj | 2 +- fastlane/Fastfile | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/StreamVideo.xcodeproj/project.pbxproj b/StreamVideo.xcodeproj/project.pbxproj index 8fa94ec45..ddfcaf99f 100644 --- a/StreamVideo.xcodeproj/project.pbxproj +++ b/StreamVideo.xcodeproj/project.pbxproj @@ -8748,7 +8748,7 @@ repositoryURL = "https://github.com/GetStream/stream-chat-swiftui"; requirement = { kind = exactVersion; - version = 4.56.0; + version = 4.66.0; }; }; 401A64A62A9DF7B400534ED1 /* XCRemoteSwiftPackageReference "effects-library" */ = { diff --git a/fastlane/Fastfile b/fastlane/Fastfile index a516d49b2..04cfe0d78 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -20,7 +20,7 @@ buildcache_xcargs = 'CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++' gci = ENV['GOOGLE_CLIENT_ID'] || '' reversed_gci = gci.split('.').reverse.join('.') is_localhost = !is_ci -@force_check = false +@force_check = true swift_environment_path = File.absolute_path('../Sources/StreamVideo/Generated/SystemEnvironment+Version.swift') swiftformat_excluded_paths = ["**/Generated", "**/generated", "**/protobuf", "**/OpenApi"] swiftformat_source_paths = ["Sources", "DemoApp", "DemoAppUIKit", "StreamVideoTests", "StreamVideoSwiftUITests", "StreamVideoUIKitTests"] @@ -224,10 +224,11 @@ lane :test do |options| derived_data_path: derived_data_path, cloned_source_packages_path: source_packages_path, devices: options[:device], - number_of_retries: 3, + number_of_retries: 0, skip_build: options[:skip_build], build_for_testing: options[:build_for_testing], - xcargs: is_ci ? "#{buildcache_xcargs} STREAM_VIDEO_SECRET=#{app_secret}" : buildcache_xcargs + xcargs: is_ci ? "#{buildcache_xcargs} STREAM_VIDEO_SECRET=#{app_secret}" : buildcache_xcargs, + parallel_testing: is_ci } begin @@ -285,7 +286,8 @@ private_lane :test_ui do |options| devices: options[:device], xcargs: buildcache_xcargs, build_for_testing: options[:build_for_testing], - fail_build: !record_mode + fail_build: !record_mode, + parallel_testing: is_ci ) if record_mode && is_ci