1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: CI测试

This commit is contained in:
steven 2023-04-03 11:21:15 +08:00
parent ffb2bf4afa
commit d7abd590b0
2 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,7 @@ jobs:
${{ runner.os }}-detox-build
- name: Detox build
run: yarn build:android-release
run: yarn build:android-debug
- name: Get device name
id: device
@ -46,4 +46,4 @@ jobs:
api-level: 31
arch: x86_64
avd-name: ${{ steps.device.outputs.AVD_NAME }}
script: yarn test:android-release
script: yarn test:android-debug

View File

@ -35,6 +35,7 @@ module.exports = {
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
build:
'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug',
start: "scripts/start-rn.sh android",
reversePorts: [8081],
},
'android.release': {