From e4cbb1346ab1d161b2ee3a612a7ff1f00354c26d Mon Sep 17 00:00:00 2001 From: mkorwel Date: Fri, 24 Apr 2026 23:42:02 +0000 Subject: [PATCH] ci: remove full Windows job and add Vitest alias for core --- .github/workflows/ci-bundling-trial.yml | 28 ------------------------- integration-tests/vitest.config.ts | 11 ++++++++-- 2 files changed, 9 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci-bundling-trial.yml b/.github/workflows/ci-bundling-trial.yml index e7a4bf57b9..d476c07597 100644 --- a/.github/workflows/ci-bundling-trial.yml +++ b/.github/workflows/ci-bundling-trial.yml @@ -386,35 +386,7 @@ jobs: run: 'npm run test:integration:sandbox:none' shell: 'bash' - test_e2e_windows_full: - name: 'e2e:windows:full' - runs-on: 'gemini-cli-windows-16-core' - timeout-minutes: 60 - steps: - - name: 'Checkout' - uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' - - name: 'Set up Node.js' - uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' - with: - node-version-file: '.nvmrc' - cache: 'npm' - - - name: 'Install dependencies' - run: 'npm ci' - shell: 'pwsh' - - - name: 'Build project' - run: 'npm run build' - shell: 'pwsh' - - - name: 'Run Integration Tests' - env: - GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}' - KEEP_OUTPUT: 'true' - VERBOSE: 'true' - run: 'npm run test:integration:sandbox:none' - shell: 'pwsh' test_e2e_windows_fast: name: 'e2e:windows:fast' diff --git a/integration-tests/vitest.config.ts b/integration-tests/vitest.config.ts index fb2ba4e1af..bf552c61e2 100644 --- a/integration-tests/vitest.config.ts +++ b/integration-tests/vitest.config.ts @@ -8,8 +8,15 @@ import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { - testTimeout: 300000, // 5 minutes - globalSetup: './globalSetup.ts', + testTimeout: 120000, + hookTimeout: 60000, + globals: true, + environment: 'node', + setupFiles: ['./globalSetup.ts'], + globalSetup: ['./globalSetup.ts'], + alias: { + '@google/gemini-cli-core': '@google-gemini/gemini-cli-core', + }, reporters: ['default'], include: ['**/*.test.ts'], retry: 2,