Skip to content

Commit

Permalink
switched to ubuntu runner for android integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB committed May 1, 2024
1 parent 07aedaa commit 931b151
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/validate.yml
Expand Up @@ -118,7 +118,7 @@ jobs:
run: melos run test:unit:android
integration_tests_android:
name: Run integration tests (Android)
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
Expand All @@ -132,6 +132,11 @@ jobs:
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- 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
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
Expand Down

0 comments on commit 931b151

Please sign in to comment.