File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 79
79
working-directory : apps/test-app
80
80
- name : Run tests (iOS)
81
81
run : npm run test:ios
82
+ # TODO: Enable release mode when it works
83
+ # run: npm run test:ios -- --mode Release
82
84
working-directory : apps/test-app
83
85
test-android :
84
86
if : github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Android 🤖')
@@ -145,6 +147,6 @@ jobs:
145
147
# Uninstall the app if already in the snapshot (unlikely but could result in a signature mismatch failure)
146
148
adb uninstall com.microsoft.reacttestapp || true
147
149
# Build, install and run the app
148
- npm run test:android
150
+ npm run test:android -- --mode Release
149
151
# Wait a bit for the sub-process to terminate, before terminating the emulator
150
152
sleep 5
Original file line number Diff line number Diff line change 7
7
"android" : " react-native run-android --no-packager --active-arch-only" ,
8
8
"ios" : " react-native run-ios --no-packager" ,
9
9
"pod-install" : " cd ios && pod install" ,
10
- "test:android" : " mocha-remote --exit-on-error -- concurrently --kill-others-on-fail npm:metro npm:android" ,
11
- "test:ios" : " mocha-remote --exit-on-error -- concurrently --kill-others-on-fail npm:metro npm:ios"
10
+ "test:android" : " mocha-remote --exit-on-error -- concurrently --kill-others-on-fail --passthrough-arguments npm:metro ' npm:android -- {@}' -- " ,
11
+ "test:ios" : " mocha-remote --exit-on-error -- concurrently --passthrough-arguments -- kill-others-on-fail npm:metro ' npm:ios -- {@}' -- "
12
12
},
13
13
"dependencies" : {
14
14
"@babel/core" : " ^7.26.10" ,
You can’t perform that action at this time.
0 commit comments