Skip to content

Commit

Permalink
add android emulator test
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Oct 10, 2024
1 parent bf09d48 commit ac77054
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/android-emulator-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- 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 tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedCheck

0 comments on commit ac77054

Please sign in to comment.