Skip to content

Commit

Permalink
cli tools run-test
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusdust committed Jan 17, 2024
1 parent 7bb6816 commit 78381e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ definitions:
# time xcodebuild clean build -project $XCODE_PROJECT -scheme $XCODE_SCHEME -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.2' -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
- name: Running tests
script: |
time xcodebuild clean test -project $XCODE_PROJECT -scheme $XCODE_SCHEME -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.2'
xcode-project run-tests \
--clean \
--project $XCODE_PROJECT \
--scheme $XCODE_SCHEME \
--sdk iphonesimulator \
--device iPhone 14 Pro,OS=16.2
--archive-flags="-destination 'generic/platform=iOS'"
# time xcodebuild clean test -project $XCODE_PROJECT -scheme $XCODE_SCHEME -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.2'

workflows:
wikipedia-mac-mini-m1:
Expand Down

0 comments on commit 78381e8

Please sign in to comment.