Skip to content

try emulator creation manually #2

try emulator creation manually

try emulator creation manually #2

Workflow file for this run

name: ADB Test
on: push
jobs:
adb-test:
name: Run Detox tests on Android
runs-on: ["self-hosted", "Linux", "X64"]
steps:
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm i -g yarn
- uses: actions/setup-java@v2
with:
java-version: 17
distribution: temurin
- uses: android-actions/setup-android@v3
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
arch: x86_64
profile: Nexus 6
script: |
pushd ~/galoy-mobile
yarn e2e:test android.emu.debug -d -R 3 --headless