ci: remove full Windows job and add Vitest alias for core

This commit is contained in:
mkorwel
2026-04-24 23:42:02 +00:00
parent a806075797
commit e4cbb1346a
2 changed files with 9 additions and 30 deletions
-28
View File
@@ -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'
+9 -2
View File
@@ -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,