Skip to content

Commit 844f08b

Browse files
committed
run android on ubuntu, split workflow in 2 jobs
1 parent 8656247 commit 844f08b

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/flutter_integration_test.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
pull_request:
77

88
jobs:
9-
test:
10-
runs-on: macos-latest
9+
test-android:
10+
runs-on: ubuntu-latest
1111
defaults:
1212
run:
1313
working-directory: ./flutter/example
@@ -41,6 +41,27 @@ jobs:
4141
arch: x86_64
4242
profile: Nexus 6
4343
script: flutter test integration_test/launch_test.dart
44+
test-ios:
45+
runs-on: macos-latest
46+
defaults:
47+
run:
48+
working-directory: ./flutter/example
49+
strategy:
50+
matrix:
51+
sdk: ['stable', 'beta']
52+
steps:
53+
- name: checkout
54+
uses: actions/checkout@v3
55+
56+
- uses: subosito/flutter-action@1e6ee87cb840500837bcd50a667fb28815d8e310 # pin@v2
57+
with:
58+
channel: ${{ matrix.sdk }}
59+
60+
- name: flutter upgrade
61+
run: flutter upgrade
62+
63+
- name: flutter pub get
64+
run: flutter pub get
4465

4566
- name: launch ios emulator
4667
uses: futureware-tech/simulator-action@ee05c113b79f056b47f354d7b313555f5491e158 #pin@v2

0 commit comments

Comments
 (0)