-
-
Notifications
You must be signed in to change notification settings - Fork 57
26 lines (26 loc) · 1.01 KB
/
flutter-drive-android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Flutter drive Android
on: push
jobs:
drive_android:
runs-on: macos-latest
strategy:
matrix:
api-level: [21, 29, 31]
target: [default]
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Run Flutter Driver basic tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
script: yes | flutter doctor --android-licenses \
&& cd example \
&& flutter drive -d emulator-5554 --driver=test_driver/main_app.dart --target=integration-test/basic_example_test.dart \
&& flutter drive -d emulator-5554 --driver=test_driver/main_app.dart --target=integration-test/network_example_test.dart \
&& flutter drive -d emulator-5554 --driver=test_driver/main_app.dart --target=integration-test/namespace_example_test.dart