Disable tests that fail on non-master branches from running on those branches (#45455)
https://github.com/flutter/flutter/issues/45453
This commit is contained in:
@@ -291,12 +291,20 @@ Future<void> _runBuildTests() async {
|
||||
await _flutterBuildIpa(examplePath);
|
||||
}
|
||||
}
|
||||
// Web compilation tests.
|
||||
await _flutterBuildDart2js(path.join('dev', 'integration_tests', 'web'), path.join('lib', 'main.dart'));
|
||||
// Should not fail to compile with dart:io.
|
||||
await _flutterBuildDart2js(path.join('dev', 'integration_tests', 'web_compile_tests'),
|
||||
path.join('lib', 'dart_io_import.dart'),
|
||||
);
|
||||
|
||||
final String branch = Platform.environment['CIRRUS_BRANCH'];
|
||||
if (branch != 'beta' && branch != 'stable') {
|
||||
// Web compilation tests.
|
||||
await _flutterBuildDart2js(
|
||||
path.join('dev', 'integration_tests', 'web'),
|
||||
path.join('lib', 'main.dart'),
|
||||
);
|
||||
// Should not fail to compile with dart:io.
|
||||
await _flutterBuildDart2js(
|
||||
path.join('dev', 'integration_tests', 'web_compile_tests'),
|
||||
path.join('lib', 'dart_io_import.dart'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _flutterBuildAot(String relativePathToApplication) async {
|
||||
|
||||
Reference in New Issue
Block a user