check release build

This commit is contained in:
Anant Bhasin 2021-04-06 21:55:56 +05:30
parent f032be02ad
commit cc438bcea5
2 changed files with 5 additions and 4 deletions

View File

@ -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
run: yarn start & yarn detox test --configuration android.experimental.play.emu.release

View File

@ -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",