Skip to content

Commit f4ad65c

Browse files
Adjust test configs
- Disable web plugin implementation package Dart tests on Windows hosts; that config has never been supported. - Split Linux Dart unit tests into two shards, since tehy are now quite long. - Disable `flutter_migrate` Dart tests on the Windows host, for time. - Temporarily disable a failing test on `stable`, with a TODO+issue.
1 parent 193e454 commit f4ad65c

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.cirrus.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ task:
235235
### Platform-agnostic tasks ###
236236
- name: dart_unit_tests
237237
env:
238+
matrix:
239+
PACKAGE_SHARDING: "--shardIndex 0 --shardCount 2"
240+
PACKAGE_SHARDING: "--shardIndex 1 --shardCount 2"
238241
matrix:
239242
CHANNEL: "master"
240243
CHANNEL: "stable"
@@ -315,7 +318,13 @@ task:
315318
build_script:
316319
- ./script/tool_runner.sh build-examples --web
317320
drive_script:
318-
- ./script/tool_runner.sh drive-examples --web --exclude=script/configs/exclude_integration_web.yaml
321+
# TODO(stuartmorgan): Figure out why url_launcher_web is failing on stable and re-enable it:
322+
# https://github.com/flutter/flutter/issues/121161
323+
- if [[ "$CHANNEL" == "master" ]]; then
324+
- ./script/tool_runner.sh drive-examples --web --exclude=script/configs/exclude_integration_web.yaml
325+
- else
326+
- ./script/tool_runner.sh drive-examples --web --exclude=script/configs/exclude_integration_web.yaml,url_launcher_web
327+
- fi
319328
- name: web_benchmarks_test
320329
env:
321330
matrix:
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
# Packages that are excluded from dart unit test on Windows.
2-
32
# Exclude flutter_image because its tests need a test server, so are run via custom_package_tests.
43
- flutter_image
4+
# This test is very slow, so isn't worth running a second time
5+
# on Windows; the Linux run is enough coverage.
6+
- flutter_migrate
7+
# Windows infra currently isn't set up to run web package unit tests.
8+
- camera_web
9+
- file_selector_web
10+
- google_maps_flutter_web
11+
- google_sign_in_web
12+
- image_picker_for_web
13+
- shared_preferences_web
14+
- url_launcher_web
15+
- video_player_web
16+
- webview_flutter_web

0 commit comments

Comments
 (0)