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

Commit e0e4f5c

Browse files
committed
Analyze framework Dart code in presubmit tests
This fixes flutter/flutter#38848
1 parent c8f665c commit e0e4f5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cirrus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ task:
5757
test_framework_script: |
5858
cd $FRAMEWORK_PATH/flutter/packages/flutter
5959
../../bin/flutter test --local-engine=host_debug_unopt
60+
analyze_framework_script: |
61+
cd $FRAMEWORK_PATH/flutter
62+
rm -rf bin/cache/pkg/sky_engine
63+
cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/
64+
bin/flutter analyze --dartdocs --flutter-repo
6065
- name: build_and_test_android_unopt_debug
6166
env:
6267
USE_ANDROID: "True"

0 commit comments

Comments
 (0)