diff --git a/.github/workflows/android_detox.yml b/.github/workflows/android_detox.yml index a33c94506..ec69a1b28 100644 --- a/.github/workflows/android_detox.yml +++ b/.github/workflows/android_detox.yml @@ -34,7 +34,7 @@ jobs: - name: Build for detox run: | - yarn detox build e2e --configuration android.experimental.play.emu.debug + yarn detox build e2e --configuration android.experimental.play.emu.release - name: Android Emulator timeout-minutes: 10 @@ -47,4 +47,4 @@ jobs: echo "Emulator started" - name: Android Detox - run: yarn start & yarn detox test --configuration android.experimental.play.emu.debug \ No newline at end of file + run: yarn start & yarn detox test --configuration android.experimental.play.emu.release \ No newline at end of file diff --git a/package.json b/package.json index 5c1158596..e9b02743f 100644 --- a/package.json +++ b/package.json @@ -277,9 +277,10 @@ "build": "cd android && ./gradlew app:assembleExperimentalPlayDebug app:assembleAndroidTest -DtestBuildType=debug && cd .." }, "android.experimental.play.emu.release": { - "device": "Pixel_API_28_AOSP", + "device": "emu", "type": "android.emulator", - "app": "android.experimental.play.release" + "binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-release.apk", + "build": "cd android && ./gradlew app:assembleExperimentalPlayRelease app:assembleAndroidTest -DtestBuildType=release && cd .." }, "android.experimental.foss.emu.release": { "device": "Pixel_API_28_AOSP",