Skip to content

Commit

Permalink
Run instrumented tests for new Android
Browse files Browse the repository at this point in the history
  • Loading branch information
hufman committed Jun 19, 2024
1 parent cf76a85 commit e47a3e3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: ./gradlew build --stacktrace

instrumentedTest:
runs-on: macos-latest
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -54,10 +54,18 @@ jobs:

- name: Build the project
run: ./gradlew build --stacktrace

- 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
- name: Run Android Connected Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api }}
arch: x86_64
target: google_apis
script: |
adb install -g 'external/MINI_Connected_Classic_v1.1.3_(usa_160214_448)_apkpure.com.apk'
Expand Down

0 comments on commit e47a3e3

Please sign in to comment.