Update tests to disable Swift worker

This should hopefully fix some failures that we are seeing.

PiperOrigin-RevId: 254763240
diff --git a/.bazelrc b/.bazelrc
index 399c48b..5519279 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -5,6 +5,7 @@
 # Disable the Swift compilation worker when running integration tests, since it
 # requires the protobuf dependency which is infeasible to get working on Bazel.
 build --define=RULES_SWIFT_BUILD_DUMMY_WORKER=1
+build --strategy=SwiftCompile=local
 
 # Stop gap for https://github.com/bazelbuild/tulsi/issues/94.
 # See also: https://github.com/bazelbuild/rules_apple/issues/456.
diff --git a/src/TulsiEndToEndTests/Resources/Buttons.tulsiproj/Configs/Buttons.tulsigen b/src/TulsiEndToEndTests/Resources/Buttons.tulsiproj/Configs/Buttons.tulsigen
index c579948..8cb1e39 100644
--- a/src/TulsiEndToEndTests/Resources/Buttons.tulsiproj/Configs/Buttons.tulsigen
+++ b/src/TulsiEndToEndTests/Resources/Buttons.tulsiproj/Configs/Buttons.tulsigen
@@ -13,7 +13,7 @@
   ],
   "optionSet" : {
     "BazelBuildOptionsDebug" : {
-      "p" : "$(inherited) --define=RULES_SWIFT_BUILD_DUMMY_WORKER=1"
+      "p" : "$(inherited) --define=RULES_SWIFT_BUILD_DUMMY_WORKER=1 --strategy=SwiftCompile=local"
     },
     "BazelBuildOptionsRelease" : {
       "p" : "$(inherited)"
diff --git a/src/TulsiGeneratorIntegrationTests/BazelIntegrationTestCase.swift b/src/TulsiGeneratorIntegrationTests/BazelIntegrationTestCase.swift
index ad504fd..46cb1ef 100644
--- a/src/TulsiGeneratorIntegrationTests/BazelIntegrationTestCase.swift
+++ b/src/TulsiGeneratorIntegrationTests/BazelIntegrationTestCase.swift
@@ -93,6 +93,7 @@
 
     // Disable the Swift worker as it adds extra dependencies.
     bazelBuildOptions.append("--define=RULES_SWIFT_BUILD_DUMMY_WORKER=1")
+    bazelBuildOptions.append("--strategy=SwiftCompile=local")
 
     guard let workspaceRootURL = workspaceRootURL else {
       fatalError("Failed to find workspaceRootURL.")