Files
Kilo-Org_kilocode/.github/workflows/test-vscode.yml
T
Mark IJbema 1a7294ff72 ci: run vscode unit tests on packages/ui and packages/kilo-ui changes
These packages feed directly into the extension webview. An upstream opencode
merge that only touches packages/ui or packages/kilo-ui would previously skip
the kilo-vscode unit tests entirely, allowing contract regressions to merge
undetected.

The unit tests (bun test tests/unit/) are pure — no CLI binary needed — so
adding these paths has no performance cost.
2026-03-02 11:43:21 +01:00

37 lines
731 B
YAML

name: test-vscode
on:
push:
branches:
- dev
paths:
- "packages/kilo-vscode/**"
- "packages/ui/**"
- "packages/kilo-ui/**"
pull_request:
paths:
- "packages/kilo-vscode/**"
- "packages/ui/**"
- "packages/kilo-ui/**"
workflow_dispatch:
jobs:
unit:
name: unit tests
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Bun
uses: ./.github/actions/setup-bun
- name: Run unit tests
working-directory: packages/kilo-vscode
run: bun run test:unit