Skip to content

Commit efbf4a9

Browse files
committed
ci: use kvm and linux runner instead of macos runner for running the ui tests
1 parent 9698a5e commit efbf4a9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/android.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
path: app/build/reports/lint-results-debug.html
7272

7373
ui-test:
74-
runs-on: macos-latest
74+
runs-on: ubuntu-latest
7575
steps:
7676
- name: checkout
7777
uses: actions/checkout@v2
@@ -86,6 +86,11 @@ jobs:
8686
run: ./gradlew generateGoogleServicesJson
8787
env:
8888
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
89+
- name: Enable KVM group perms
90+
run: |
91+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
92+
sudo udevadm control --reload-rules
93+
sudo udevadm trigger --name-match=kvm
8994
- name: run tests
9095
uses: reactivecircus/android-emulator-runner@v2
9196
with:

0 commit comments

Comments
 (0)