mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 22:33:05 -07:00
feat(ci): refine trial to measure both unit speed and bundle integrity
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user