mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Replace the enterprise unit tests workflow with the new swift ones
This commit is contained in:
committed by
Stefan Ceriu
parent
1b55fb224c
commit
6dd9f3f5e9
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user