-
Notifications
You must be signed in to change notification settings - Fork 354
41 lines (37 loc) · 1.07 KB
/
flutter_drive.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Flutter CI
on:
push:
branches: [ master, actions]
pull_request:
branches: [ master ]
jobs:
android-integration-test:
name: Android
runs-on: macOS-latest
strategy:
matrix:
device:
- "pixel_xl"
fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '8.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.2.0-10.1.pre'
channel: 'dev'
- name: run tests
timeout-minutes: 30
uses: reactivecircus/android-emulator-runner@v2
env:
ANDROID_SIGN_PWD: ${{ secrets.ANDROID_SIGN_PWD }}
SECRET_REPO: ${{ secrets.SECRET_REPO }}
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
with:
api-level: 29
profile: ${{ matrix.device }}
script: |
cd ./example && flutter pub get
cd ./example && flutter drive --driver=test_driver/integration_test.dart --target=integration_test/tflite_flutter_test.dart