Skip to content

Commit

Permalink
test fabric in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsocj-cb committed Sep 16, 2022
1 parent 329c314 commit 081cf8f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,42 @@ jobs:
- store_artifacts:
path: ./artifacts

e2e_release_ios_fabric:
executor:
name: rn/macos
xcode_version: '13.1.0'
environment:
RCT_NEW_ARCH_ENABLED: 1
steps:
- checkout
- run:
name: install applesimutils
command: |
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
- rn/ios_simulator_start:
device: 'iPhone 11'
# - rn/yarn_install
- run:
command: yarn install --frozen-lockfile
name: yarn install
- run:
command: yarn bundle:ios
name: bundle js
- rn/pod_install:
pod_install_directory: 'example/ios'
- run:
command: curl https://raw.githubusercontent.com/facebook/react-native/6334ac35ac3cbc2c84b2d46d46ec118bf9bf714d/scripts/find-node.sh > node_modules/react-native/scripts/find-node.sh
name: fix issue with nvm # will be fixed in RN 67 (https://github.com/react-native-community/upgrade-support/issues/138)
- run:
command: yarn detox:ios:build:release
name: build app for e2e tests
- run:
command: yarn detox:ios:test:release
name: run e2e tests
- store_artifacts:
path: ./artifacts

e2e_release_android:
executor:
name: android/android-machine
Expand Down Expand Up @@ -125,11 +161,13 @@ workflows:
jobs:
- analyse_js
- e2e_release_ios
- e2e_release_ios_fabric
- e2e_release_android
- publish:
requires:
- e2e_release_android
- e2e_release_ios
- e2e_release_ios_fabric
filters:
branches:
only: master
2 changes: 1 addition & 1 deletion src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export type IOSNativeProps = $ReadOnly<{|
/**
* Sets the preferredDatePickerStyle for picker
*/
displayIOS?: IOSDisplay,
display?: IOSDisplay,

/**
* Is this picker enabled?
Expand Down

0 comments on commit 081cf8f

Please sign in to comment.