From ff2984e22f6341c94be9b9c744854c496fcf159f Mon Sep 17 00:00:00 2001 From: mkorwel Date: Wed, 22 Apr 2026 04:42:57 +0000 Subject: [PATCH] ci: add aggregate test job for packages/cli --- .github/workflows/ci-bundling-trial.yml | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/ci-bundling-trial.yml b/.github/workflows/ci-bundling-trial.yml index 5ea848c10f..5fe2321ed5 100644 --- a/.github/workflows/ci-bundling-trial.yml +++ b/.github/workflows/ci-bundling-trial.yml @@ -340,3 +340,40 @@ jobs: - name: 'Run Batch 3 Tests' run: 'npx vitest run --pool=threads packages/cli/src/commands packages/cli/src/config' shell: 'bash' + + test_cli_aggregate: + name: 'Test (Linux) - CLI Aggregate' + needs: build + runs-on: 'gemini-cli-ubuntu-16-core' + steps: + - name: 'Checkout' + uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' + + - name: 'Download Workspace' + uses: 'actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806' + with: + name: 'workspace-artifact' + path: '.' + + - name: 'Download Node Modules Tarball' + uses: 'actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806' + with: + name: 'node-modules-tarball' + path: '.' + + - name: 'Extract Node Modules' + run: | + rm -rf node_modules + tar -xzf node_modules.tar.gz + rm node_modules.tar.gz + shell: 'bash' + + - name: 'Setup Gemini' + uses: './.github/actions/setup-gemini' + with: + mode: 'source' + skip-npm-ci: 'true' + + - name: 'Run All CLI Tests' + run: 'npx vitest run --pool=threads packages/cli/src' + shell: 'bash'