Skip to content

Commit

Permalink
Use CI configuration in CI for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Dec 12, 2023
1 parent 2c4c373 commit 6aaf711
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 6aaf711

Please sign in to comment.