mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-16 14:53:19 -07:00
fix(ci): fix infrastructure startup errors and restore sandbox dependencies
This commit is contained in:
@@ -26,6 +26,14 @@ runs:
|
||||
run: 'npm ci'
|
||||
shell: 'bash'
|
||||
|
||||
- name: 'Install system dependencies (Linux)'
|
||||
if: "${{ runner.os == 'Linux' }}"
|
||||
run: |
|
||||
sudo apt-get update -qq && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq bubblewrap
|
||||
# Ubuntu 24.04+ requires this to allow bwrap to function in CI
|
||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
|
||||
shell: 'bash'
|
||||
|
||||
- name: 'Build Core (Required for all tests)'
|
||||
run: 'npm run build --workspace @google/gemini-cli-core'
|
||||
shell: 'bash'
|
||||
|
||||
+1
-8
@@ -8,14 +8,7 @@ import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: [
|
||||
'packages/cli',
|
||||
'packages/core',
|
||||
'packages/sdk',
|
||||
'packages/a2a-server',
|
||||
'packages/test-utils',
|
||||
'scripts/tests',
|
||||
],
|
||||
projects: ['packages/*', 'scripts/tests'],
|
||||
// Global test settings
|
||||
coverage: {
|
||||
enabled: false, // Disabled by default for speed, enabled via CLI if needed
|
||||
|
||||
Reference in New Issue
Block a user