Bump RN OSS iOS tests to iOS SDK 12.1, Xcode 10.1

Summary:
Use Xcode 10.1 and iOS 12.1 SDK to run iOS tests on an iOS 12.1 iPhone XS Simulator, all of which are available on a default Xcode 10.1 install.

Note that we were previously running iOS tests using Xcode 10.1 and the 12.1 SDK in a separate `test_xcode10` workflow on Circle CI. This was in place to allow us to track Xcode 10 compatibility during the Xcode 10 beta. Now that Xcode 10 has been public for a while, we can drop the compatibility check and use Xcode 10 in our main iOS test workflow.

Reviewed By: TheSavior

Differential Revision: D13317891

fbshipit-source-id: 04c17bf3a2e9d3617f14a46b4ed30a5491a4f4a4
This commit is contained in:
Héctor Ramos
2018-12-18 19:34:40 +01:00
committed by Mike Grabowski
parent 7c04c09923
commit b8c0d9d289
2 changed files with 1 additions and 37 deletions
+1 -29
View File
@@ -350,7 +350,7 @@ android_defaults: &android_defaults
macos_defaults: &macos_defaults
<<: *defaults
macos:
xcode: "9.4.0"
xcode: "10.1.0"
version: 2
jobs:
@@ -433,32 +433,6 @@ jobs:
- store_test_results:
path: ~/react-native/reports/junit
# Xcode 10: Runs unit tests on iOS and Apple TV devices
test_objc_xcode10:
<<: *defaults
macos:
xcode: "10.0.0"
steps:
- checkout
- run: *setup-artifacts
- run: *yarn
- run: *boot-simulator-iphone
- run: *boot-simulator-appletv
- run: *brew-install-watchman
- run: *run-objc-ios-tests
- run: *run-objc-tvos-tests
# TODO: Fix these failing tests.
- run: *display-broken-tests-warning
- run: *run-podspec-tests
- run: *run-objc-ios-e2e-tests
- run: *run-objc-tvos-e2e-tests
- store_test_results:
path: ~/react-native/reports/junit
# Runs end to end tests (Detox)
test_detox_end_to_end:
<<: *macos_defaults
@@ -709,8 +683,6 @@ workflows:
- checkout_code
# Tooling Compatibility Checks
- test_objc_xcode10:
filters: *filter-ignore-gh-pages
- test_node10:
filters: *filter-ignore-gh-pages
-8
View File
@@ -24,15 +24,7 @@ source "scripts/.tests.env"
export TEST_NAME="tvOS"
export SCHEME="RNTester-tvOS"
export SDK="appletvsimulator"
<<<<<<< HEAD
export DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=11.4"
# If there's a "test" argument, pass it to the test script.
. ./scripts/objc-test.sh $1
=======
export DESTINATION="platform=tvOS Simulator,name=${TVOS_DEVICE},OS=${IOS_TARGET_OS}"
# If there's a "test" argument, pass it to the test script.
./scripts/objc-test.sh $1
>>>>>>> 5194495e97... Propagate exit code in test_objc (#22562)