From 6aaf7118be496bd14cd8c556a22e0da4e1e38027 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Tue, 12 Dec 2023 15:49:00 +0100 Subject: [PATCH] Use CI configuration in CI for unit tests --- fastlane/Fastfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index c9c4b65ef2..56e597a90f 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -487,8 +487,14 @@ release in progress and you're making a follow-up internal release that includes end end + configuration = is_ci ? 'CI' : 'Debug' + xcargs = is_ci ? 'ENABLE_TESTABILITY=YES' : '' # Run tests - run_tests(scheme: 'DuckDuckGo Privacy Browser') + run_tests( + configuration: configuration, + scheme: 'DuckDuckGo Privacy Browser', + xcargs: xcargs + ) # Every thing looks good: commit and push unless modified_files.empty?