Compare commits

..

9 Commits

Author SHA1 Message Date
Yiheng Xu
a676946518 trigger 2025-09-05 16:28:18 +08:00
Yiheng Xu
f64bf8dede fix lint 2025-09-05 16:24:09 +08:00
Yiheng Xu
c00287ac45 handle timeout 2025-09-05 16:17:46 +08:00
Yiheng Xu
6b394bd61d parallel ci 2025-09-05 15:49:45 +08:00
Yiheng Xu
e29a26e880 fix ci 2025-09-05 00:12:27 +08:00
Yiheng Xu
c16d4c82c9 fix ci 2025-09-05 00:00:10 +08:00
Yiheng Xu
f472f14849 add ci 2025-09-04 23:47:45 +08:00
Yiheng Xu
b2540d4b14 fix ci 2025-09-04 23:19:53 +08:00
Yiheng Xu
d41c1043c1 integrate terminal bench 2025-09-04 22:58:11 +08:00
4 changed files with 3 additions and 26 deletions

View File

@@ -4,7 +4,6 @@ on:
push:
branches:
- 'main'
- 'feat/e2e/**'
merge_group:
jobs:

View File

@@ -15,7 +15,6 @@ export default defineConfig({
globalSetup: './globalSetup.ts',
reporters: ['default'],
include: ['**/*.test.ts'],
exclude: ['**/terminal-bench/*.test.ts', '**/node_modules/**'],
retry: 2,
fileParallelism: false,
},

View File

@@ -1,21 +0,0 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { defineConfig } from 'vitest/config';
const timeoutMinutes = Number(process.env.TB_TIMEOUT_MINUTES || '30');
const testTimeoutMs = timeoutMinutes * 60 * 1000;
export default defineConfig({
test: {
testTimeout: testTimeoutMs,
globalSetup: './globalSetup.ts',
reporters: ['default'],
include: ['**/terminal-bench/*.test.ts'],
retry: 2,
fileParallelism: false,
},
});

View File

@@ -37,9 +37,9 @@
"test:integration:sandbox:none": "GEMINI_SANDBOX=false vitest run --root ./integration-tests",
"test:integration:sandbox:docker": "GEMINI_SANDBOX=docker npm run build:sandbox && GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
"test:integration:sandbox:podman": "GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
"test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests",
"test:terminal-bench:oracle": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'oracle'",
"test:terminal-bench:qwen": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'qwen'",
"test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --root ./integration-tests terminal-bench.test.ts",
"test:terminal-bench:oracle": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --root ./integration-tests terminal-bench.test.ts -t 'oracle'",
"test:terminal-bench:qwen": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --root ./integration-tests terminal-bench.test.ts -t 'qwen'",
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",