Skip to content

Commit

Permalink
Move emulator tests to ubuntu and enable KVM
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAlcerreca committed Jan 29, 2024
1 parent 978005b commit 9a77d57
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/instrumented_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ on:

jobs:
androidTest:
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
api-level: [23, 26, 29]

steps:
- 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
ls /dev/kvm
- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit 9a77d57

Please sign in to comment.