Skip to content

Commit 85ded6e

Browse files
author
Ali Abdelfattah
authored
Add CI tests for flutter 2.5
1 parent b02ba05 commit 85ded6e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.circleci/config.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
flutter_tests:
6262
docker:
63-
- image: cirrusci/flutter:2.2.3
63+
- image: cirrusci/flutter
6464
steps:
6565
- checkout
6666
- run: sudo gem install bundler:1.16.1
@@ -73,6 +73,18 @@ jobs:
7373
- run: dartanalyzer --options analysis_options.yaml --fatal-warnings lib
7474
- run: flutter pub publish --dry-run
7575

76+
flutter_tests_2.2.3:
77+
docker:
78+
- image: cirrusci/flutter:2.2.3
79+
steps:
80+
- checkout
81+
- run: sudo gem install bundler:1.16.1
82+
- run: bundle check || sudo bundle install
83+
- run: bundle exec danger
84+
- run: flutter doctor
85+
- run: flutter packages get
86+
- run: flutter test --coverage
87+
7688
ios_tests:
7789
macos:
7890
xcode: "12.3.0"
@@ -128,12 +140,14 @@ workflows:
128140
build-test-and-approval-deploy:
129141
jobs:
130142
- flutter_tests
143+
- flutter_tests_2.2.3
131144
- android_tests
132145
- ios_tests
133146
- hold_pub_release:
134147
type: approval
135148
requires:
136149
- flutter_tests
150+
- flutter_tests_2.2.3
137151
- android_tests
138152
- ios_tests
139153
filters:
@@ -149,6 +163,7 @@ workflows:
149163
type: approval
150164
requires:
151165
- flutter_tests
166+
- flutter_tests_2.2.3
152167
- android_tests
153168
- ios_tests
154169
filters:

0 commit comments

Comments
 (0)