Use downgraded analyze for flutter/packages (#130878)
Add the `--downgrade` flag to the flutter/packages analyze test, so that it won't get the latest version of dependencies, avoiding out-of-band failures in flutter/flutter due to package publishing events. Fixes https://github.com/flutter/flutter/issues/129633
This commit is contained in:
parent
0df683c09b
commit
273441eef2
@ -1460,6 +1460,13 @@ Future<void> _runFlutterPackagesTests() async {
|
||||
'run',
|
||||
toolScript,
|
||||
'analyze',
|
||||
// Fetch the oldest possible dependencies, rather than the newest, to
|
||||
// insulate flutter/flutter from out-of-band failures when new versions
|
||||
// of dependencies are published. This compensates for the fact that
|
||||
// flutter/packages doesn't use pinned dependencies, and for the
|
||||
// purposes of this test using old dependencies is fine. See
|
||||
// https://github.com/flutter/flutter/issues/129633
|
||||
'--downgrade',
|
||||
'--custom-analysis=script/configs/custom_analysis.yaml',
|
||||
],
|
||||
workingDirectory: checkout.path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user