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 ec92cfeecb
commit b55cbae8f4
3 changed files with 13 additions and 0 deletions

View File

@@ -9,6 +9,15 @@
}
],
"defaultOptions" : {
"codeCoverage" : {
"targets" : [
{
"containerPath" : "container:ElementX.xcodeproj",
"identifier" : "C0FAEB81CFD9776CD78CE489",
"name" : "ElementX"
}
]
},
"environmentVariableEntries" : [
{
"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
clear_derived_data()
create_simulator_if_necessary(
name: "iPhone 14 Pro",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro"
@@ -173,6 +175,7 @@ lane :integration_tests do
output_directory: "./fastlane/test_output",
proj: "ElementX.xcodeproj",
scheme: "IntegrationTests",
binary_basename: "ElementX.app"
)
end