Skip to content

Commit

Permalink
fix: trying the old e2e flow with a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Sep 1, 2024
1 parent 6a0a681 commit 530252a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/e2e-test_old.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ jobs:
key: kotlin-android-uniffi-${{ matrix.arch }}-${{ env.CACHE-KEY }}
fail-on-cache-miss: true

- name: AVD cache
uses: actions/cache@v4
- name: Restore AVD cache
uses: actions/cache/restore@v4
id: avd-cache
with:
path: |
Expand All @@ -116,14 +116,26 @@ jobs:
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- run: yarn

- run: nohup yarn react-native start > "yarn_react_native_start.out" &

- name: Save AVD cache
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
id: avd-cache-saving
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.arch }}-api-${{ matrix.api-level }}-e2e

-name: Yarn install
run: yarn

- name: Run Detox Build
run: yarn detox build -c android.emu.debug -n test


- name: Yarn Start
run: nohup yarn start > "yarn_react_native_start.out" &

- name: Run Detox Test
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit 530252a

Please sign in to comment.