try emulator creation manually #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
avd-name: Pixel_API_29_AOSP | |
script: | | |
cd ~/galoy-mobile | |
yarn e2e:test android.emu.debug -d -R 3 --headless |