Skip to content

Commit

Permalink
ci: use kvm and linux runner instead of macos runner for running the …
Browse files Browse the repository at this point in the history
…ui tests
  • Loading branch information
superus8r committed Jan 11, 2025
1 parent 9698a5e commit efbf4a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
path: app/build/reports/lint-results-debug.html

ui-test:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
Expand All @@ -86,6 +86,11 @@ jobs:
run: ./gradlew generateGoogleServicesJson
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
- 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 tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit efbf4a9

Please sign in to comment.