From b981cd66096bfdb86d9f059006187ca8509c0bd7 Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Thu, 10 Aug 2023 20:53:55 +0200 Subject: [PATCH] ci bump android/windows (10mn) and macos build time (20mn) --- sqflite_support/test/workflow_build_test.dart | 2 +- sqflite_test_app/test/macos_build_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sqflite_support/test/workflow_build_test.dart b/sqflite_support/test/workflow_build_test.dart index 887e6c04..b44cfc98 100644 --- a/sqflite_support/test/workflow_build_test.dart +++ b/sqflite_support/test/workflow_build_test.dart @@ -78,7 +78,7 @@ void workflow({bool noBuild = false}) { test('build android', () async { await ensureCreate(); await androidBuild(); - }, timeout: const Timeout(Duration(minutes: 5))); + }, timeout: Timeout(Duration(minutes: Platform.isWindows ? 10 : 5))); test('add sqflite', () async { await ensureCreate(); if (await pathPubspecAddDependency(dir, 'sqflite')) { diff --git a/sqflite_test_app/test/macos_build_test.dart b/sqflite_test_app/test/macos_build_test.dart index fa1c14a4..2ce004e6 100644 --- a/sqflite_test_app/test/macos_build_test.dart +++ b/sqflite_test_app/test/macos_build_test.dart @@ -31,5 +31,5 @@ Future main() async { var runAppShell = Shell(environment: env, workingDirectory: exeDir); // We run the generated exe, not the copy as it does not work await runAppShell.run(shellArgument(join(binSubDir, 'sqflite_test_app'))); - }, skip: !platformIsMacOS, timeout: const Timeout(Duration(minutes: 10))); + }, skip: !platformIsMacOS, timeout: const Timeout(Duration(minutes: 20))); }