Skip to content

Commit 081cf8f

Browse files
committed
test fabric in CI
1 parent 329c314 commit 081cf8f

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,42 @@ jobs:
6464
- store_artifacts:
6565
path: ./artifacts
6666

67+
e2e_release_ios_fabric:
68+
executor:
69+
name: rn/macos
70+
xcode_version: '13.1.0'
71+
environment:
72+
RCT_NEW_ARCH_ENABLED: 1
73+
steps:
74+
- checkout
75+
- run:
76+
name: install applesimutils
77+
command: |
78+
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null
79+
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
80+
- rn/ios_simulator_start:
81+
device: 'iPhone 11'
82+
# - rn/yarn_install
83+
- run:
84+
command: yarn install --frozen-lockfile
85+
name: yarn install
86+
- run:
87+
command: yarn bundle:ios
88+
name: bundle js
89+
- rn/pod_install:
90+
pod_install_directory: 'example/ios'
91+
- run:
92+
command: curl https://raw.githubusercontent.com/facebook/react-native/6334ac35ac3cbc2c84b2d46d46ec118bf9bf714d/scripts/find-node.sh > node_modules/react-native/scripts/find-node.sh
93+
name: fix issue with nvm # will be fixed in RN 67 (https://github.com/react-native-community/upgrade-support/issues/138)
94+
- run:
95+
command: yarn detox:ios:build:release
96+
name: build app for e2e tests
97+
- run:
98+
command: yarn detox:ios:test:release
99+
name: run e2e tests
100+
- store_artifacts:
101+
path: ./artifacts
102+
67103
e2e_release_android:
68104
executor:
69105
name: android/android-machine
@@ -125,11 +161,13 @@ workflows:
125161
jobs:
126162
- analyse_js
127163
- e2e_release_ios
164+
- e2e_release_ios_fabric
128165
- e2e_release_android
129166
- publish:
130167
requires:
131168
- e2e_release_android
132169
- e2e_release_ios
170+
- e2e_release_ios_fabric
133171
filters:
134172
branches:
135173
only: master

src/types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export type IOSNativeProps = $ReadOnly<{|
137137
/**
138138
* Sets the preferredDatePickerStyle for picker
139139
*/
140-
displayIOS?: IOSDisplay,
140+
display?: IOSDisplay,
141141

142142
/**
143143
* Is this picker enabled?

0 commit comments

Comments
 (0)