From db131cf35e78031ccebeb1bcf56d34a21282a690 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 16 Dec 2022 14:07:42 +0200 Subject: [PATCH] Remove UI and Integration tests from the ElX target, add `IS_RUNNING_UNIT_TESTS` envar (#374) --- .../xcshareddata/xcschemes/ElementX.xcscheme | 58 ++++++------------- ElementX/SupportingFiles/target.yml | 4 +- 2 files changed, 21 insertions(+), 41 deletions(-) diff --git a/ElementX.xcodeproj/xcshareddata/xcschemes/ElementX.xcscheme b/ElementX.xcodeproj/xcshareddata/xcschemes/ElementX.xcscheme index b1da95f9a..e052682c3 100644 --- a/ElementX.xcodeproj/xcshareddata/xcschemes/ElementX.xcscheme +++ b/ElementX.xcodeproj/xcshareddata/xcschemes/ElementX.xcscheme @@ -1,11 +1,10 @@ + version = "1.3"> + buildImplicitDependencies = "YES"> @@ -39,6 +38,22 @@ ReferencedContainer = "container:ElementX.xcodeproj"> + + + + + + + + @@ -50,38 +65,7 @@ ReferencedContainer = "container:ElementX.xcodeproj"> - - - - - - - - - - - - - - - - - - diff --git a/ElementX/SupportingFiles/target.yml b/ElementX/SupportingFiles/target.yml index 9ed414446..041ae6f81 100644 --- a/ElementX/SupportingFiles/target.yml +++ b/ElementX/SupportingFiles/target.yml @@ -32,8 +32,8 @@ schemes: - ElementX targets: - UnitTests - - UITests - - IntegrationTests + environmentVariables: + IS_RUNNING_UNIT_TESTS: "1" targets: ElementX: