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 - name: Build for detox
run: | run: |
yarn detox build e2e --configuration android.experimental.play.emu.debug yarn detox build e2e --configuration android.experimental.play.emu.release
- name: Android Emulator - name: Android Emulator
timeout-minutes: 10 timeout-minutes: 10
@ -47,4 +47,4 @@ jobs:
echo "Emulator started" echo "Emulator started"
- name: Android Detox - 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 .." "build": "cd android && ./gradlew app:assembleExperimentalPlayDebug app:assembleAndroidTest -DtestBuildType=debug && cd .."
}, },
"android.experimental.play.emu.release": { "android.experimental.play.emu.release": {
"device": "Pixel_API_28_AOSP", "device": "emu",
"type": "android.emulator", "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": { "android.experimental.foss.emu.release": {
"device": "Pixel_API_28_AOSP", "device": "Pixel_API_28_AOSP",