Skip to content

Commit 3517160

Browse files
troZeePiotr Trocki
andauthored
chore: turn off e2e tests (#598)
Co-authored-by: Piotr Trocki <[email protected]>
1 parent 0027f30 commit 3517160

File tree

1 file changed

+4
-63
lines changed

1 file changed

+4
-63
lines changed

.circleci/config.yml

Lines changed: 4 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
version: 2.1
22

3-
orbs:
4-
rn: react-native-community/[email protected]
5-
63
executors:
74
default:
85
docker:
9-
- image: circleci/node:10
6+
- image: circleci/node:16
107
working_directory: ~/project
118

129
commands:
@@ -52,6 +49,7 @@ jobs:
5249
name: Lint files
5350
command: |
5451
yarn lint
52+
5553
typescript:
5654
executor: default
5755
steps:
@@ -60,61 +58,6 @@ jobs:
6058
name: Typecheck files
6159
command: |
6260
yarn typescript
63-
e2e_release_ios:
64-
executor:
65-
name: rn/macos
66-
xcode_version: '11.4.0'
67-
steps:
68-
- attach_workspace:
69-
at: .
70-
- rn/setup_macos_executor:
71-
node_version: '12.10.0'
72-
- rn/ios_simulator_start:
73-
device: 'iPhone 11'
74-
- rn/pod_install:
75-
pod_install_directory: 'example/ios'
76-
- run:
77-
command: yarn --cwd example detox:ios:build:release
78-
name: build for detox
79-
- run:
80-
command: detox clean-framework-cache && detox build-framework-cache && yarn --cwd example detox:ios:test:release
81-
name: test detox
82-
- store_artifacts:
83-
path: ./example/artifacts
84-
e2e_release_android:
85-
# we need to use mac to run emulator with acceleration
86-
# see https://support.circleci.com/hc/en-us/articles/360000028928-Testing-with-Android-emulator-on-CircleCI-2-0
87-
executor:
88-
name: rn/macos
89-
xcode_version: '11.4.0'
90-
steps:
91-
- attach_workspace:
92-
at: .
93-
- rn/setup_macos_executor:
94-
node_version: '12.10.0'
95-
- rn/android_emulator_start:
96-
logcat_grep: 'com.example.reactnativepagerview'
97-
platform_version: 'android-29'
98-
- run:
99-
command: yarn --cwd example detox:android:build:release
100-
name: build for detox
101-
- run:
102-
command: yarn --cwd example detox:android:test:release
103-
name: test detox
104-
- store_artifacts:
105-
path: ./example/artifacts
106-
unit-tests:
107-
executor: default
108-
steps:
109-
- attach_project
110-
- run:
111-
name: Run unit tests
112-
command: |
113-
yarn test --coverage
114-
- store_artifacts:
115-
path: coverage
116-
destination: coverage
117-
11861
build-package:
11962
executor: default
12063
steps:
@@ -123,6 +66,7 @@ jobs:
12366
name: Build package
12467
command: |
12568
yarn prepare
69+
12670
workflows:
12771
build-and-test:
12872
jobs:
@@ -133,9 +77,6 @@ workflows:
13377
- typescript:
13478
requires:
13579
- install-dependencies
136-
- e2e_release_ios:
80+
- build-package:
13781
requires:
13882
- install-dependencies
139-
- e2e_release_android:
140-
requires:
141-
- install-dependencies

0 commit comments

Comments
 (0)