Skip to content

Commit

Permalink
Reduce CI duration by removing tests on iPad simulator
Browse files Browse the repository at this point in the history
Nimble doesn't have iPadOS-specific code, so running tests on iPhone simulator should be sufficient.
  • Loading branch information
ikesyo committed Aug 28, 2021
1 parent be9c0e9 commit 4073d2e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ function run {
function test_ios {
run set -o pipefail && xcodebuild -project Nimble.xcodeproj -scheme "Nimble-iOS" -configuration "Debug" -destination "generic/platform=iOS" OTHER_SWIFT_FLAGS='$(inherited) -suppress-warnings' build | xcpretty

run osascript -e 'tell app "Simulator" to quit'
run set -o pipefail && xcodebuild -project Nimble.xcodeproj -scheme "Nimble-iOS" -configuration "Debug" -sdk "iphonesimulator$BUILD_IOS_SDK_VERSION" -destination "name=iPad Pro (9.7-inch),OS=$RUNTIME_IOS_VERSION" OTHER_SWIFT_FLAGS='$(inherited) -suppress-warnings' build-for-testing test-without-building | xcpretty

run osascript -e 'tell app "Simulator" to quit'
run set -o pipefail && xcodebuild -project Nimble.xcodeproj -scheme "Nimble-iOS" -configuration "Debug" -sdk "iphonesimulator$BUILD_IOS_SDK_VERSION" -destination "name=iPhone 8,OS=$RUNTIME_IOS_VERSION" OTHER_SWIFT_FLAGS='$(inherited) -suppress-warnings' build-for-testing test-without-building | xcpretty
}
Expand Down

0 comments on commit 4073d2e

Please sign in to comment.