From 7dd5b63183596b6cdf39335384a6c65a5faa1e4e Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Mon, 28 Oct 2024 21:43:26 -0400 Subject: [PATCH 1/3] [Vertex AI] Disable xcodebuild parallel testing --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 0a8cdc857a6..830e4ace0d1 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -508,6 +508,7 @@ case "$product-$platform-$method" in -project 'FirebaseVertexAI/Tests/TestApp/VertexAITestApp.xcodeproj' \ -scheme "VertexAITestApp-SPM" \ "${xcb_flags[@]}" \ + -parallel-testing-enabled NO \ build \ test ;; From 1712e30159ad48ce8e87ef2b9a66934222e09ccf Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Mon, 28 Oct 2024 21:43:44 -0400 Subject: [PATCH 2/3] Touch Vertex AI test to trigger CI --- .../Tests/TestApp/Tests/Integration/IntegrationTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift b/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift index b90a13515a6..54d5429e7e7 100644 --- a/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift +++ b/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift @@ -18,6 +18,8 @@ import FirebaseStorage import FirebaseVertexAI import XCTest +// TODO(andrewheard): Remove this after testing on CI. + @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) final class IntegrationTests: XCTestCase { // Set temperature, topP and topK to lowest allowed values to make responses more deterministic. From 4743fc0b35fe980dc4cde27afd1de326fbf8da90 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Mon, 28 Oct 2024 21:56:42 -0400 Subject: [PATCH 3/3] Revert "Touch Vertex AI test to trigger CI" This reverts commit 1712e30159ad48ce8e87ef2b9a66934222e09ccf. --- .../Tests/TestApp/Tests/Integration/IntegrationTests.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift b/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift index 54d5429e7e7..b90a13515a6 100644 --- a/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift +++ b/FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift @@ -18,8 +18,6 @@ import FirebaseStorage import FirebaseVertexAI import XCTest -// TODO(andrewheard): Remove this after testing on CI. - @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) final class IntegrationTests: XCTestCase { // Set temperature, topP and topK to lowest allowed values to make responses more deterministic.