From 0a06b962dad2a5871d7e2d3a39aaf61d8ca66743 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Fri, 28 Jun 2024 14:58:58 +0100 Subject: [PATCH] fix: wip --- .github/workflows/e2e-android.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml index 07e2b19a..cf61ba76 100644 --- a/.github/workflows/e2e-android.yml +++ b/.github/workflows/e2e-android.yml @@ -19,6 +19,12 @@ jobs: with: fetch-depth: 1 + - 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: Free Disk Space uses: jlumbroso/free-disk-space@main with: @@ -91,16 +97,16 @@ jobs: distribution: 'temurin' java-version: '17' - - 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: Build working-directory: example run: yarn e2e:build:android-release || yarn e2e:build:android-release + - name: Show build outputs + run: tree android/app/build/outputs/ + + - name: Kill java processes + run: pkill -9 -f java || true + - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: