Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit b3f7508

Browse files
author
Chris Yang
authored
[ci] Disable analyze on stable for web plugins that contains null safety integration tests. (#3681)
1 parent fc1b17e commit b3f7508

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.cirrus.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,22 @@ task:
3737
test_script:
3838
- flutter channel $CHANNEL
3939
- ./script/incremental_build.sh test
40-
- name: analyze
40+
- name: analyze_master
4141
env:
4242
matrix:
4343
CHANNEL: "master"
44+
script:
45+
- flutter channel $CHANNEL
46+
- ./script/incremental_build.sh analyze
47+
## TODO(cyanglaz):
48+
## Combing stable and master analyze jobs when integration test null safety is ready on flutter stable.
49+
- name: analyze_stable
50+
env:
51+
matrix:
4452
CHANNEL: "stable"
4553
script:
4654
- flutter channel $CHANNEL
55+
- find . -depth -type d -wholename '*_web/example' -exec rm -rf {} \;
4756
- ./script/incremental_build.sh analyze
4857
### Android tasks ###
4958
- name: build_all_plugins_apk
@@ -67,7 +76,6 @@ task:
6776
env:
6877
matrix:
6978
CHANNEL: "master"
70-
CHANNEL: "stable"
7179
build_script:
7280
- flutter channel $CHANNEL
7381
- ./script/incremental_build.sh build-examples --web

packages/connectivity/connectivity_macos/example/test_driver/test/integration_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.9
56
import 'dart:convert';
67
import 'dart:io';
78
import 'package:flutter_driver/flutter_driver.dart';

packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ dependencies:
1616

1717
dev_dependencies:
1818
pedantic: ^1.10.0
19-
integration_test:
20-
path: ../../../integration_test
21-
flutter_driver:
22-
sdk: flutter
2319

2420
flutter:
2521
uses-material-design: true

packages/image_picker/image_picker/example/test_driver/test/integration_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
56
import 'dart:async';
67
import 'dart:convert';
78
import 'dart:io';

0 commit comments

Comments
 (0)