mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 13:30:53 -07:00
140 lines
4.4 KiB
YAML
140 lines
4.4 KiB
YAML
name: 'Bundling Trial CI'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'feat/ci-bundling-revamp'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test_ui_messages:
|
|
name: 'Test (Linux) - UI Messages'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run UI Messages Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/ui/components/messages'
|
|
shell: 'bash'
|
|
|
|
test_ui_shared:
|
|
name: 'Test (Linux) - UI Shared'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run UI Shared Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/ui/components/shared'
|
|
shell: 'bash'
|
|
|
|
test_ui_views:
|
|
name: 'Test (Linux) - UI Views'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run UI Views Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/ui/components/views packages/cli/src/ui/components/SessionBrowser'
|
|
shell: 'bash'
|
|
|
|
test_ui_rest:
|
|
name: 'Test (Linux) - UI Rest'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run UI Rest Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/ui/App.test.tsx packages/cli/src/ui/AppContainer.test.tsx packages/cli/src/ui/IdeIntegrationNudge.test.tsx packages/cli/src/ui/ToolConfirmationFullFrame.test.tsx packages/cli/src/ui/auth packages/cli/src/ui/commands packages/cli/src/ui/contexts packages/cli/src/ui/hooks packages/cli/src/ui/key packages/cli/src/ui/layouts packages/cli/src/ui/noninteractive packages/cli/src/ui/privacy packages/cli/src/ui/state packages/cli/src/ui/themes packages/cli/src/ui/utils'
|
|
shell: 'bash'
|
|
|
|
test_ui_components_top:
|
|
name: 'Test (Linux) - UI Components Top'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run UI Components Top Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/ui/components/*.test.tsx'
|
|
shell: 'bash'
|
|
|
|
test_batch_1:
|
|
name: 'Test (Linux) - Batch 1 (Utils & Test-Utils)'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run Batch 1 Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/test-utils packages/cli/src/utils'
|
|
shell: 'bash'
|
|
|
|
test_batch_2:
|
|
name: 'Test (Linux) - Batch 2 (Core & Services & ACP)'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run Batch 2 Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/core packages/cli/src/services packages/cli/src/acp'
|
|
shell: 'bash'
|
|
|
|
test_batch_3:
|
|
name: 'Test (Linux) - Batch 3 (Commands & Config)'
|
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
|
|
- name: 'Setup and Build'
|
|
uses: './.github/actions/setup-gemini'
|
|
with:
|
|
mode: 'source'
|
|
|
|
- name: 'Run Batch 3 Tests'
|
|
run: 'npx vitest run --pool=threads packages/cli/src/commands packages/cli/src/config'
|
|
shell: 'bash'
|