From a296115419e7c94063896f6bfa847495e2550022 Mon Sep 17 00:00:00 2001 From: ligi Date: Thu, 4 Apr 2024 14:29:15 +0200 Subject: [PATCH] Try to fix emulator tests --- .github/workflows/test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d08f06d..c553589 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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