ci: tests

This commit is contained in:
Nathan Walker
2023-02-14 19:55:45 -08:00
parent decbfa11f4
commit 64e91e93ae
2 changed files with 5 additions and 3 deletions

View File

@ -6,9 +6,10 @@
*/
const spawn = require('child_process').spawn
const kill = require('tree-kill');
const path = require('path');
const TIMEOUT_MS = 5 * 60 * 1000; // 5 minutes
const workspaceDir = path.resolve(__dirname, '../..');
const platform = process.argv[2];
const spawned_process = spawn(
"npx",
@ -20,6 +21,7 @@ const spawned_process = spawn(
"--timeout=600" // 10 minutes, booting avds on CI is very slow...
],
{
cwd: workspaceDir,
stdio: ["inherit", "pipe", "pipe"],
}
);