Replace the enterprise unit tests workflow with the new swift ones

This commit is contained in:
Stefan Ceriu
2026-03-01 18:20:52 +02:00
committed by Stefan Ceriu
parent 1b55fb224c
commit 6dd9f3f5e9
3 changed files with 21 additions and 64 deletions
-33
View File
@@ -12,39 +12,6 @@ before_all do
ENV["SENTRY_LOG_LEVEL"] = "DEBUG"
end
lane :unit_tests do |options|
reset_simulator = ENV.key?('CI')
run_tests(
scheme: "UnitTests",
device: "iPhone 17 (#{simulator_version})",
ensure_devices_found: true,
result_bundle: true,
number_of_retries: 3,
reset_simulator: reset_simulator,
xcodebuild_formatter: "xcbeautify --quiet --is-ci --renderer github-actions"
)
if !options[:skip_previews]
create_simulator_if_necessary(
name: "iPhone SE (3rd generation)",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation"
)
run_tests(
scheme: "PreviewTests",
device: "iPhone SE (3rd generation) (#{simulator_version})",
ensure_devices_found: true,
result_bundle: true,
number_of_retries: 3,
reset_simulator: reset_simulator,
xcodebuild_formatter: "xcbeautify --quiet --is-ci --renderer github-actions"
)
end
# We use xcresultparser in the workflow to collect coverage from both result bundles.
end
lane :config_production do
sh("(cd .. && swift run pipeline update-foss-secrets)")
xcodegen(spec: "project.yml")