Skip to content

Commit

Permalink
Try to fix emulator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Apr 4, 2024
1 parent 6dea86b commit a296115
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
test:
timeout-minutes: 45
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -17,11 +17,16 @@ jobs:
distribution: 'adopt'
java-version: '17'

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

- name: Archive
Expand Down

0 comments on commit a296115

Please sign in to comment.