File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797
9898 - name : Build Android app
9999 working-directory : ./example
100- run : npx expo prebuild --platform android && cd android && ./gradlew assembleDebug
100+ run : |
101+ npx expo prebuild --platform android
102+ cd android
103+ ./gradlew assembleDebug
104+ ls -la app/build/outputs/apk/debug/
101105
102106 - name : Run Maestro tests
103107 uses : reactivecircus/android-emulator-runner@v2
@@ -109,16 +113,17 @@ jobs:
109113 emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
110114 disable-animations : true
111115 script : |
112- cd example
113- adb install android/app/build/outputs/apk/debug/app-debug.apk
114- npm run e2e
116+ cd example/android
117+ adb install app/build/outputs/apk/debug/app-debug.apk
118+ cd ..
119+ maestro test ./maestro/ --format junit --output maestro-results.xml
115120
116121 - name : Upload Maestro test results
117122 if : always()
118123 uses : actions/upload-artifact@v4
119124 with :
120125 name : maestro-test-results
121126 path : |
122- example/.maestro/
123- ~/.maestro/tests/
127+ example/maestro-results.xml
124128 retention-days : 7
129+ if-no-files-found : warn
You can’t perform that action at this time.
0 commit comments