Skip to content

Commit f0117c9

Browse files
committed
Updated test.yaml github actions in workflow. Tests are now passing.
1 parent 9a56523 commit f0117c9

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969

7070
drive_android:
71-
runs-on: macos-latest
71+
runs-on: ubuntu-latest
7272
#creates a build matrix for your jobs
7373
strategy:
7474
#set of different configurations of the virtual environment.
@@ -78,6 +78,11 @@ jobs:
7878
target: [default]
7979
steps:
8080
- uses: actions/checkout@v4
81+
- name: Enable KVM
82+
run: |
83+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
84+
sudo udevadm control --reload-rules
85+
sudo udevadm trigger --name-match=kvm
8186
- uses: actions/setup-java@v1
8287
with:
8388
java-version: 17
@@ -89,4 +94,4 @@ jobs:
8994
with:
9095
api-level: ${{ matrix.api-level }}
9196
target: ${{ matrix.target }}
92-
script: cd example && flutter test integration_test/workmanager_integration_test.dart
97+
script: cd example && flutter test integration_test/workmanager_integration_test.dart

0 commit comments

Comments
 (0)