File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 API_LEVEL : 34
2222 SYSTEM_IMAGES : system-images;android-34;google_apis;x86_64
2323 AVD_NAME : rn-svg-avd
24- E2E : true
2524 concurrency :
2625 group : android-e2e-example-${{ github.ref }}
2726 cancel-in-progress : true
6463
6564 - name : Build Android app
6665 working-directory : apps/${{ env.WORKING_DIRECTORY }}/android
67- run : ./gradlew assembleDebug
66+ run : E2E=true ./gradlew assembleDebug
6867
6968 - name : Enable KVM
7069 run : |
@@ -112,7 +111,7 @@ jobs:
112111 arch : x86_64
113112 script : |
114113 # Start Metro in the background
115- yarn --cwd apps/${{ env.WORKING_DIRECTORY }} start &> output.log &
114+ E2E=true yarn --cwd apps/${{ env.WORKING_DIRECTORY }} start &> output.log &
116115 # Wait for emulator to boot fully
117116 $ANDROID_HOME/platform-tools/adb wait-for-device
118117 $ANDROID_HOME/platform-tools/adb shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'
@@ -122,7 +121,7 @@ jobs:
122121 bash -c 'until $ANDROID_HOME/platform-tools/adb shell monkey -p com.paperexample 1 | grep -q "Events injected: 1"; do sleep 1; echo "Retrying app launch..."; done'
123122
124123 # Run your E2E tests
125- yarn e2e
124+ E2E=true yarn e2e
126125
127126 # - name: Start Metro server
128127 # working-directory: apps/${{ env.WORKING_DIRECTORY }}
You can’t perform that action at this time.
0 commit comments