Specify ElementX target for coverage in integrations plan. (#1398)

This commit is contained in:
Doug 2023-07-27 16:03:26 +01:00 committed by GitHub
parent 4b14617a8e
commit 07651bd3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View File

@ -9,6 +9,15 @@
} }
], ],
"defaultOptions" : { "defaultOptions" : {
"codeCoverage" : {
"targets" : [
{
"containerPath" : "container:ElementX.xcodeproj",
"identifier" : "C0FAEB81CFD9776CD78CE489",
"name" : "ElementX"
}
]
},
"environmentVariableEntries" : [ "environmentVariableEntries" : [
{ {
"key" : "INTEGRATION_TESTS_HOST", "key" : "INTEGRATION_TESTS_HOST",

View File

@ -0,0 +1 @@
Specify the target for code coverage in the Integration Tests plan.

View File

@ -154,6 +154,8 @@ end
lane :integration_tests do lane :integration_tests do
clear_derived_data()
create_simulator_if_necessary( create_simulator_if_necessary(
name: "iPhone 14 Pro", name: "iPhone 14 Pro",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro" type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro"
@ -173,6 +175,7 @@ lane :integration_tests do
output_directory: "./fastlane/test_output", output_directory: "./fastlane/test_output",
proj: "ElementX.xcodeproj", proj: "ElementX.xcodeproj",
scheme: "IntegrationTests", scheme: "IntegrationTests",
binary_basename: "ElementX.app"
) )
end end