mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 00:42:13 +08:00
[ci] Add LUCI repo tool tests (#3964)
- Adds a LUCI version of the Linux repo tools test, as a first test of a Linux repository test being migrated to LUCI. - Fixes the Windows repo tools test to actually run a test, which it wasn't due to a mistaken duplicate yaml file, only one of which was correct (the one that wasn't being used).
This commit is contained in:
@ -283,7 +283,9 @@ void main() {
|
||||
'Test for publish-check command.',
|
||||
);
|
||||
runner.addCommand(PublishCheckCommand(packagesDir,
|
||||
processRunner: processRunner, httpClient: mockClient));
|
||||
platform: mockPlatform,
|
||||
processRunner: processRunner,
|
||||
httpClient: mockClient));
|
||||
|
||||
processRunner.mockProcessesForExecutable['flutter'] = <FakeProcessInfo>[
|
||||
FakeProcessInfo(MockProcess(exitCode: 1, stdout: 'Some error from pub'),
|
||||
@ -339,7 +341,9 @@ void main() {
|
||||
'Test for publish-check command.',
|
||||
);
|
||||
runner.addCommand(PublishCheckCommand(packagesDir,
|
||||
processRunner: processRunner, httpClient: mockClient));
|
||||
platform: mockPlatform,
|
||||
processRunner: processRunner,
|
||||
httpClient: mockClient));
|
||||
|
||||
final List<String> output =
|
||||
await runCapturingPrint(runner, <String>['publish-check']);
|
||||
|
Reference in New Issue
Block a user