Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@ jobs:
- run: npm ci
- run: npm run check-types
- run: npm test
# Extension-host smoke in a real VS Code (headless via Xvfb).
- run: xvfb-run -a npm run test:host
- run: npm run compile
- run: npx @vscode/vsce package -o /tmp/agentage.vsix
# Hand the packaged .vsix to the e2e repo's `vscode` integration project.
- uses: actions/upload-artifact@v4
with:
name: agentage-vsix
path: /tmp/agentage.vsix
if-no-files-found: error
9 changes: 9 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from '@vscode/test-cli';

// Runs the host smoke (test-host/**) inside a real downloaded VS Code, loading the
// built extension from ./dist (run `npm run compile` first; `test:host` does).
export default defineConfig({
files: 'test-host/**/*.test.js',
version: 'stable',
mocha: { ui: 'tdd', timeout: 20000 },
});
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.vscode/**
.vscode-test/**
.vscode-test.mjs
src/**
test/**
test-host/**
node_modules/**
esbuild.js
tsconfig.json
Expand Down
Loading
Loading