Skip to content

Commit

Permalink
[CI]Parallelize LLC tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ipavlidakis committed Nov 6, 2024
1 parent 6fe9f25 commit 5cd9a3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion StreamVideo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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" */ = {
Expand Down
10 changes: 6 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5cd9a3f

Please sign in to comment.