Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ executors:
macos:
xcode: 14.3.1
resource_class: macos.m1.medium.gen1

commands:
cleanup_simulators:
description: "Clear Simulator Caches"
steps:
- run:
name: Clear Simulator caches"
command: xcrun simctl shutdown all && xcrun simctl erase all && rm -rf ~/Library/Developer/Xcode/DerivedData && rm -rf ~/Library/Caches/com.apple.dt.Xcode && rm -rf ~/Library/Developer/Xcode/Archives
name: Clear Simulator caches"
command: xcrun simctl shutdown all && xcrun simctl erase all && rm -rf ~/Library/Developer/Xcode/DerivedData
&& rm -rf ~/Library/Caches/com.apple.dt.Xcode && rm -rf ~/Library/Developer/Xcode/Archives
install_dependencies:
description: "Install Dependencies"
steps:
Expand All @@ -29,11 +30,15 @@ commands:
description: "Run tests"
steps:
- run:
name: OktaSQLiteStorage unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaSQLiteStorageTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14 Pro Max" test
name: OktaSQLiteStorage unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace"
-scheme "OktaSQLiteStorageTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone
14 Pro Max" test
- run:
name: OktaLogger unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaLoggerTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14 Pro Max" test
name: OktaLogger unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace"
-scheme "OktaLoggerTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone
14 Pro Max" test
# - run:
# name: OktaAnalytics unit tests"
# command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaAnalyticsTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" test
Expand Down