@@ -186,7 +186,7 @@ jobs:
186
186
path : ${{ env.REACT_NATIVE_SAMPLE_PATH }}/${{ matrix.platform }}/*.log
187
187
188
188
test :
189
- name : Test ${{ matrix.platform }} ${{ matrix.build-type }}
189
+ name : ${{ matrix.job-name }}
190
190
runs-on : ${{ matrix.runs-on }}
191
191
needs : [diff_check, build]
192
192
if : ${{ needs.diff_check.outputs.skip_ci != 'true' }}
@@ -195,16 +195,28 @@ jobs:
195
195
fail-fast : false
196
196
matrix :
197
197
include :
198
- - platform : ios
198
+ - job-name : ' Test iOS Release Auto Init'
199
+ platform : ios
199
200
runs-on : macos-15
200
201
rn-architecture : ' new'
201
202
ios-use-frameworks : ' no-frameworks'
202
203
build-type : ' production'
204
+ test-command : ' yarn test-ios-auto' # tests native auto init from JS
203
205
204
- - platform : android
206
+ - job-name : ' Test iOS Release Manual Init'
207
+ platform : ios
208
+ runs-on : macos-15
209
+ rn-architecture : ' new'
210
+ ios-use-frameworks : ' no-frameworks'
211
+ build-type : ' production'
212
+ test-command : ' yarn test-ios'
213
+
214
+ - job-name : ' Test Android Release Manual Init'
215
+ platform : android
205
216
runs-on : ubuntu-latest
206
217
rn-architecture : ' new'
207
218
build-type : ' production'
219
+ test-command : ' yarn test-android'
208
220
209
221
steps :
210
222
- uses : actions/checkout@v4
@@ -277,7 +289,7 @@ jobs:
277
289
- name : Run Detox iOS Tests
278
290
if : ${{ matrix.platform == 'ios' }}
279
291
working-directory : ${{ env.REACT_NATIVE_SAMPLE_PATH }}
280
- run : yarn test-ios
292
+ run : ${{ matrix. test-command }}
281
293
282
294
- name : Run tests on Android
283
295
if : ${{ matrix.platform == 'android' }}
@@ -303,4 +315,4 @@ jobs:
303
315
-camera-front none
304
316
-timezone US/Pacific
305
317
working-directory : ${{ env.REACT_NATIVE_SAMPLE_PATH }}
306
- script : yarn test-android
318
+ script : ${{ matrix. test-command }}
0 commit comments