feat(ci): refine trial to measure both unit speed and bundle integrity

This commit is contained in:
mkorwel
2026-04-14 19:38:50 -07:00
parent a4730c3d87
commit de2dfd7559
2 changed files with 20 additions and 4 deletions
+19 -3
View File
@@ -30,8 +30,24 @@ jobs:
name: 'gemini-bundle'
path: 'bundle/'
test_cli_unit:
name: 'Test (Linux) - CLI Unit Tests'
runs-on: 'gemini-cli-ubuntu-16-core'
steps:
- name: 'Checkout'
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
- name: 'Setup Source'
uses: './.github/actions/setup-gemini'
with:
mode: 'source'
- name: 'Run CLI Unit Tests'
run: 'npx vitest run packages/cli'
shell: 'bash'
test_with_bundle:
name: 'Test (Linux) - Bundled Trial'
name: 'Test (Linux) - Bundled Integration'
needs: 'build_bundle'
runs-on: 'gemini-cli-ubuntu-16-core'
steps:
@@ -44,6 +60,6 @@ jobs:
mode: 'bundle'
bundle-artifact: 'gemini-bundle'
- name: 'Run CLI Unit Tests'
run: 'npx vitest run packages/cli'
- name: 'Run Integration Tests'
run: 'npm run test:integration:sandbox:none'
shell: 'bash'
+1 -1
View File
@@ -17,7 +17,6 @@ export default defineConfig({
},
test: {
include: ['**/*.{test,spec}.{js,ts,jsx,tsx}', 'config.test.ts'],
exclude: ['**/node_modules/**', '**/dist/**', '**/cypress/**'],
environment: 'node',
globals: true,
reporters: ['default', 'junit'],
@@ -35,6 +34,7 @@ export default defineConfig({
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/src/ui/components/messages/ToolStickyHeaderRegression.test.tsx',
'**/src/ui/components/views/McpStatus.test.tsx',
'**/src/ui/components/messages/SubagentHistoryMessage.test.tsx',