feat: fix
This commit is contained in:
parent
65a2477932
commit
e76747f7d3
7
.github/workflows/e2e_android.yml
vendored
7
.github/workflows/e2e_android.yml
vendored
@ -4,9 +4,6 @@ on: push
|
||||
jobs:
|
||||
e2e-android:
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
DETOX_CONFIGURATION: android.emu.debug
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
@ -37,7 +34,7 @@ jobs:
|
||||
${{ runner.os }}-detox-build
|
||||
|
||||
- name: Detox build
|
||||
run: cd Example/testHotUpdate && yarn detox build --configuration ${{ env.DETOX_CONFIGURATION }}
|
||||
run: yarn build:android-debug
|
||||
|
||||
- name: Get device name
|
||||
id: device
|
||||
@ -49,7 +46,7 @@ jobs:
|
||||
api-level: 31
|
||||
arch: x86_64
|
||||
avd-name: ${{ steps.device.outputs.AVD_NAME }}
|
||||
script: cd Example/testHotUpdate && yarn detox test --configuration ${{ env.DETOX_CONFIGURATION }} --headless --record-logs all
|
||||
script: yarn test:android-debug
|
||||
|
||||
- name: Upload artifacts
|
||||
if: failure()
|
||||
|
@ -15,7 +15,7 @@
|
||||
"build:android-debug": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.debug",
|
||||
"build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release",
|
||||
"test:android-release": "export ANDROID_SDK_ROOT=/Users/arvinh/Library/Android/sdk && cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release",
|
||||
"test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug",
|
||||
"test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug --headless --record-logs all",
|
||||
"e2e:ios": "npm run build:ios-release && npm run test:ios-release",
|
||||
"e2e:android": "npm run build:android-release && npm run test:android-release",
|
||||
"tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build",
|
||||
|
Loading…
Reference in New Issue
Block a user