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 7979 working-directory : apps/test-app
8080 - name : Run tests (iOS)
8181 run : npm run test:ios
82+ # TODO: Enable release mode when it works
83+ # run: npm run test:ios -- --mode Release
8284 working-directory : apps/test-app
8385 test-android :
8486 if : github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Android 🤖')
@@ -145,6 +147,6 @@ jobs:
145147 # Uninstall the app if already in the snapshot (unlikely but could result in a signature mismatch failure)
146148 adb uninstall com.microsoft.reacttestapp || true
147149 # Build, install and run the app
148- npm run test:android
150+ npm run test:android -- --mode Release
149151 # Wait a bit for the sub-process to terminate, before terminating the emulator
150152 sleep 5
Original file line number Diff line number Diff line change 77 "android" : " react-native run-android --no-packager --active-arch-only" ,
88 "ios" : " react-native run-ios --no-packager" ,
99 "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 -- {@}' -- "
1212 },
1313 "dependencies" : {
1414 "@babel/core" : " ^7.26.10" ,
You can’t perform that action at this time.
0 commit comments