Skip to content

Commit 2c78169

Browse files
committed
add workflow, update android bins
1 parent f17b04f commit 2c78169

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Flutter CI
2+
3+
on:
4+
push:
5+
branches: [ master, actions]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
android-integration-test:
11+
name: Android
12+
runs-on: macOS-latest
13+
strategy:
14+
matrix:
15+
device:
16+
- "pixel_xl"
17+
fail-fast: false
18+
19+
steps:
20+
- uses: actions/checkout@v1
21+
- uses: actions/setup-java@v1
22+
with:
23+
java-version: '8.x'
24+
- uses: subosito/flutter-action@v1
25+
with:
26+
flutter-version: '1.12.13+hotfix.5'
27+
channel: 'stable'
28+
- name: run tests
29+
timeout-minutes: 30
30+
uses: reactivecircus/android-emulator-runner@v2
31+
env:
32+
ANDROID_SIGN_PWD: ${{ secrets.ANDROID_SIGN_PWD }}
33+
SECRET_REPO: ${{ secrets.SECRET_REPO }}
34+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
35+
with:
36+
api-level: 29
37+
profile: ${{ matrix.device }}
38+
script: |
39+
cd ./example/image_classification && flutter pub get
40+
cd ./example/image_classification && flutter driver --driver='test_driver/image_classification_e2e_test.dart' test/image_classification_e2e.dart
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)