Skip to content

Commit

Permalink
Add CI configuration for running unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Nov 6, 2023
1 parent e397c0f commit ff6d218
Show file tree
Hide file tree
Showing 4 changed files with 429 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
run: |
set -o pipefail && xcodebuild test \
-scheme "DuckDuckGo" \
-configuration "CI" \
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.0" \
-derivedDataPath "DerivedData" \
DDG_SLOW_COMPILE_CHECK_THRESHOLD=250 \
Expand Down
6 changes: 6 additions & 0 deletions Configuration/Configuration.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@

DDG_SLOW_COMPILE_CHECK_THRESHOLD = 100
OTHER_SWIFT_FLAGS[config=Debug][arch=*][sdk=*] = $(inherited) -Xfrontend -warn-long-expression-type-checking=$(DDG_SLOW_COMPILE_CHECK_THRESHOLD) -Xfrontend -warn-long-function-bodies=$(DDG_SLOW_COMPILE_CHECK_THRESHOLD)

CODE_SIGN_ENTITLEMENTS[config=CI][arch=*][sdk=*] = DuckDuckGo/DuckDuckGoCI.entitlements
CODE_SIGN_IDENTITY[config=CI][sdk=*] =
CODE_SIGN_STYLE[config=CI] = Automatic

PROVISIONING_PROFILE_SPECIFIER[config=CI][sdk=*] =
Loading

0 comments on commit ff6d218

Please sign in to comment.