Skip to content

Commit dc096e3

Browse files
Enable intro_flutter_gpu on master CI (#2311)
Enabling `intro_flutter_gpu` with tests skipped, to make sure the code stays sane w.r.t compilation and dart format. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. [Effective Dart: Style]: https://dart.dev/guides/language/effective-dart/style
1 parent 192bc35 commit dc096e3

26 files changed

+28
-29
lines changed

flutter_ci_script_master.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ declare -a CODELABS=(
2828
"haiku_generator"
2929
"homescreen_codelab"
3030
"in_app_purchases"
31-
# TODO(DomesticMouse): Figure out how to run `flutter test`
32-
# "intro_flutter_gpu"
31+
"intro_flutter_gpu"
3332
"namer"
3433
"next-gen-ui"
3534
"testing_codelab"

intro_flutter_gpu/codelab_rebuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ steps:
274274
testWidgets('smoke test', (tester) async {
275275
// Build our app and trigger a frame.
276276
await tester.pumpWidget(const MainApp());
277-
});
277+
}, skip: true);
278278
}
279279
- name: Patch macos/Runner/Info.plist
280280
path: intro_flutter_gpu/macos/Runner/Info.plist
@@ -2197,7 +2197,7 @@ steps:
21972197
@override
21982198
bool shouldRepaint(covariant CustomPainter oldDelegate) => true;
21992199
}
2200-
- name: Patch text/widget_test.dart
2200+
- name: Patch test/widget_test.dart
22012201
path: intro_flutter_gpu/test/widget_test.dart
22022202
patch-u: |
22032203
--- b/intro_flutter_gpu/step_12/test/widget_test.dart
@@ -2218,7 +2218,7 @@ steps:
22182218
+ await tester.pumpWidget(
22192219
+ MainApp(staticResourcesInitialized: Scene.initializeStaticResources()),
22202220
+ );
2221-
});
2221+
}, skip: true);
22222222
}
22232223
- name: Copy step_12
22242224
copydir:

intro_flutter_gpu/step_01/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.8.1
88

99
dependencies:
1010
flutter:

intro_flutter_gpu/step_01/test/widget_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ void main() {
1010
testWidgets('smoke test', (tester) async {
1111
// Build our app and trigger a frame.
1212
await tester.pumpWidget(const MainApp());
13-
});
13+
}, skip: true); // See https://github.com/flutter/flutter/issues/171361
1414
}

intro_flutter_gpu/step_02/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.8.1
88

99
dependencies:
1010
flutter:

intro_flutter_gpu/step_02/test/widget_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ void main() {
1010
testWidgets('smoke test', (tester) async {
1111
// Build our app and trigger a frame.
1212
await tester.pumpWidget(const MainApp());
13-
});
13+
}, skip: true); // See https://github.com/flutter/flutter/issues/171361
1414
}

intro_flutter_gpu/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.8.1
88

99
dependencies:
1010
flutter:

intro_flutter_gpu/step_03/test/widget_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ void main() {
1010
testWidgets('smoke test', (tester) async {
1111
// Build our app and trigger a frame.
1212
await tester.pumpWidget(const MainApp());
13-
});
13+
}, skip: true); // See https://github.com/flutter/flutter/issues/171361
1414
}

intro_flutter_gpu/step_04/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.8.1
88

99
dependencies:
1010
flutter:

intro_flutter_gpu/step_04/test/widget_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ void main() {
1010
testWidgets('smoke test', (tester) async {
1111
// Build our app and trigger a frame.
1212
await tester.pumpWidget(const MainApp());
13-
});
13+
}, skip: true); // See https://github.com/flutter/flutter/issues/171361
1414
}

0 commit comments

Comments
 (0)