7272 - cd script/tool
7373 - dart analyze --fatal-infos
7474 script :
75- - ./script/tool_runner.sh analyze
75+ - ./script/tool_runner.sh analyze --custom-analysis=script/configs/custom_analysis.yaml
7676 # ## Android tasks ###
7777 - name : build_all_plugins_apk
7878 env :
@@ -137,22 +137,6 @@ task:
137137 CHANNEL : " stable"
138138 MAPS_API_KEY : ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
139139 GCLOUD_FIREBASE_TESTLAB_KEY : ENCRYPTED[07586610af1fdfc894e5969f70ef2458341b9b7e9c3b7c4225a663b4a48732b7208a4d91c3b7d45305a6b55fa2a37fc4]
140- # Currently missing harness files (https://github.com/flutter/flutter/issues/86749):
141- # camera/camera
142- # google_sign_in/google_sign_in
143- # in_app_purchase/in_app_purchase
144- # in_app_purchase_android
145- # quick_actions
146- # shared_preferences/shared_preferences
147- # url_launcher/url_launcher
148- # video_player/video_player
149- # webview_flutter
150- # Deprecated; no plan to backfill the missing files:
151- # android_intent,connectivity/connectivity,device_info/device_info,sensors,share,wifi_info_flutter/wifi_info_flutter
152- # No integration tests to run:
153- # image_picker/image_picker - Native UI is the critical functionality
154- # espresso - No Dart code, so no integration tests
155- PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS : " camera/camera,google_sign_in/google_sign_in,in_app_purchase/in_app_purchase,in_app_purchase_android,quick_actions,shared_preferences/shared_preferences,url_launcher/url_launcher,video_player/video_player,webview_flutter,android_intent,connectivity/connectivity,device_info/device_info,sensors,share,wifi_info_flutter/wifi_info_flutter,image_picker/image_picker,espresso"
156140 build_script :
157141 # Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they
158142 # might include non-ASCII characters which makes Gradle crash.
@@ -177,16 +161,13 @@ task:
177161 - export CIRRUS_COMMIT_MESSAGE=""
178162 - if [[ -n "$GCLOUD_FIREBASE_TESTLAB_KEY" ]]; then
179163 - echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
180- - ./script/tool_runner.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26 --exclude $PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS
164+ - ./script/tool_runner.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26 --exclude=script/configs/exclude_integration_android.yaml
181165 - else
182166 - echo "This user does not have permission to run Firebase Test Lab tests."
183167 - fi
184168 # ## Web tasks ###
185169 - name : build-web+drive-examples
186170 env :
187- # Currently missing; see https://github.com/flutter/flutter/issues/81982
188- # and https://github.com/flutter/flutter/issues/82211
189- PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS : " file_selector,shared_preferences_web"
190171 matrix :
191172 CHANNEL : " master"
192173 CHANNEL : " stable"
@@ -199,7 +180,7 @@ task:
199180 build_script :
200181 - ./script/tool_runner.sh build-examples --web
201182 drive_script :
202- - ./script/tool_runner.sh drive-examples --web --exclude $PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS
183+ - ./script/tool_runner.sh drive-examples --web --exclude=script/configs/exclude_integration_web.yaml
203184
204185# macOS tasks.
205186task :
@@ -221,10 +202,6 @@ task:
221202 - name : build-ipas+drive-examples
222203 env :
223204 PATH : $PATH:/usr/local/bin
224- # in_app_purchase_ios is currently missing tests; see https://github.com/flutter/flutter/issues/81695
225- # ios_platform_images is currently missing tests; see https://github.com/flutter/flutter/issues/82208
226- # sensor hangs on CI.
227- PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS : " in_app_purchase_ios,ios_platform_images,sensors"
228205 matrix :
229206 PLUGIN_SHARDING : " --shardIndex 0 --shardCount 4"
230207 PLUGIN_SHARDING : " --shardIndex 1 --shardCount 4"
@@ -247,7 +224,7 @@ task:
247224 # `drive-examples` contains integration tests, which changes the UI of the application.
248225 # This UI change sometimes affects `xctest`.
249226 # So we run `drive-examples` after `native-test`; changing the order will result ci failure.
250- - ./script/tool_runner.sh drive-examples --ios --exclude $PLUGINS_TO_EXCLUDE_INTEGRATION_TESTS
227+ - ./script/tool_runner.sh drive-examples --ios --exclude=script/configs/exclude_integration_ios.yaml
251228 # ## macOS desktop tasks ###
252229 - name : build_all_plugins_macos
253230 env :
@@ -259,9 +236,6 @@ task:
259236 - ./script/build_all_plugins_app.sh macos
260237 - name : build-macos+drive-examples
261238 env :
262- # conncectivity_macos is deprecated, so is not getting unit test backfill.
263- # package_info is deprecated, so is not getting unit test backfill.
264- PLUGINS_TO_EXCLUDE_MACOS_XCTESTS : " connectivity_macos,package_info"
265239 matrix :
266240 CHANNEL : " master"
267241 CHANNEL : " stable"
@@ -272,6 +246,6 @@ task:
272246 xcode_analyze_script :
273247 - ./script/tool_runner.sh xcode-analyze --macos
274248 native_test_script :
275- - ./script/tool_runner.sh native-test --macos --exclude $PLUGINS_TO_EXCLUDE_MACOS_XCTESTS
249+ - ./script/tool_runner.sh native-test --macos --exclude=script/configs/exclude_native_macos.yaml
276250 drive_script :
277251 - ./script/tool_runner.sh drive-examples --macos
0 commit comments