File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,32 @@ jobs:
117
117
name : Run UnitTest
118
118
command : cd android && ./gradlew test
119
119
120
+
121
+ ios_test :
122
+ macos :
123
+ xcode : " 10.2.0"
124
+ working_directory : ~/project/InstabugSample/ios
125
+ environment :
126
+ FL_OUTPUT_DIR : output
127
+ steps :
128
+ - checkout :
129
+ path : ~/project
130
+ - run :
131
+ name : Install node_modules
132
+ command : cd .. && yarn
133
+ - run :
134
+ name : Remove instabug.framework
135
+ command : rm -rf ../node_modules/instabug-reactnative/ios/Instabug.framework
136
+ - run :
137
+ name : Fetch CocoaPods Specs
138
+ command : curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
139
+ - run :
140
+ name : Install CocoaPods
141
+ command : pod install
142
+ - run :
143
+ name : Build and run tests
144
+ command : xcodebuild -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=12.2' test | xcpretty
145
+
120
146
publish :
121
147
macos :
122
148
xcode : " 10.1.0"
@@ -136,11 +162,13 @@ workflows:
136
162
- test_module
137
163
- test_sample
138
164
- test_android
165
+ - ios_test
139
166
- hold :
140
167
requires :
141
168
- test_module
142
169
- test_sample
143
170
- test_android
171
+ - ios_test
144
172
type : approval
145
173
filters :
146
174
branches :
You can’t perform that action at this time.
0 commit comments