File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 # tool-cache: true
3535 # android: false
3636
37+ - name : Set E2E env for workflow
38+ run : echo "E2E=true" >> $GITHUB_ENV
39+
3740 - name : Set up JDK 17
3841 uses : actions/setup-java@v4
3942 with :
6366
6467 - name : Build Android app
6568 working-directory : apps/${{ env.WORKING_DIRECTORY }}/android
66- run : |
67- export E2E=true
68- ./gradlew assembleDebug
69+ run : ./gradlew assembleDebug
6970
7071 - name : Enable KVM
7172 run : |
@@ -113,7 +114,6 @@ jobs:
113114 arch : x86_64
114115 script : |
115116 # Start Metro in the background
116- export E2E=true
117117 yarn --cwd apps/${{ env.WORKING_DIRECTORY }} start &> output.log &
118118 # Wait for emulator to boot fully
119119 $ANDROID_HOME/platform-tools/adb wait-for-device
@@ -124,7 +124,6 @@ jobs:
124124 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'
125125
126126 # Run your E2E tests
127- export E2E=true
128127 yarn e2e
129128
130129 # - name: Start Metro server
You can’t perform that action at this time.
0 commit comments