From bf6c5044e657548bc65a8bf750bba4e63d999eab Mon Sep 17 00:00:00 2001 From: Matteo Pietro Dazzi Date: Tue, 11 Jun 2024 21:44:37 +0200 Subject: [PATCH] fix: drive --- .github/workflows/flutter-drive-android.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter-drive-android.yml b/.github/workflows/flutter-drive-android.yml index 24d79eb..c07b58d 100644 --- a/.github/workflows/flutter-drive-android.yml +++ b/.github/workflows/flutter-drive-android.yml @@ -2,7 +2,7 @@ name: Flutter drive Android on: push jobs: drive_android: - runs-on: macos-latest + runs-on: ubuntu-latest strategy: matrix: api-level: [21, 29, 31] @@ -13,6 +13,11 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: stable + - 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 - name: Run Flutter Driver basic tests uses: reactivecircus/android-emulator-runner@v2 with: