Skip to content

Workflow file for this run

name: ADB Check (Temporary)
on: push
jobs:
test-e2e-android:
name: Run tests on Android
runs-on: ["self-hosted", "Linux", "X64"]
steps:
# - uses: actions/checkout@v4
- uses: android-actions/setup-android@v3
- name: Enable KVM
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
# - uses: actions/setup-node@v2
# with:
# node-version: 20
# - run: npm i -g yarn
# - run: |
# mkdir -p ./android/app/build/outputs
# cp -r ~/apk ./android/app/build/outputs
# - uses: actions/cache@v2
# with:
# path: |
# node_modules
# ios/Pods
# key: ${{ runner.os }}-deps-${{ hashFiles('**/yarn.lock', '**/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-deps-
# - run: yarn install
- name: Run Android Emulator
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: sleep 999999