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

Commit b939957

Browse files
authored
Analyze framework Dart code in presubmit tests (#13037)
This fixes flutter/flutter#38848
1 parent 7a06baa commit b939957

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cirrus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ task:
5454
cd $FRAMEWORK_PATH/flutter/dev/integration_tests/web
5555
../../../bin/flutter config --local-engine=host_debug_unopt --no-analytics --enable-web
5656
../../../bin/flutter --local-engine=host_debug_unopt build web -v
57+
analyze_framework_script: |
58+
cd $FRAMEWORK_PATH/flutter
59+
rm -rf bin/cache/pkg/sky_engine
60+
cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/
61+
bin/flutter update-packages --local-engine=host_debug_unopt
62+
bin/flutter analyze --dartdocs --flutter-repo --local-engine=host_debug_unopt
5763
test_framework_script: |
5864
cd $FRAMEWORK_PATH/flutter/packages/flutter
5965
../../bin/flutter test --local-engine=host_debug_unopt

0 commit comments

Comments
 (0)