Skip to content

Commit 2a278f2

Browse files
Add Depot-based CI workflow and quality docs updates
1 parent 220ba40 commit 2a278f2

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
portable-ci:
15+
runs-on: depot-ubuntu-24.04
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
25+
- name: Validate launcher syntax
26+
run: node --check scripts/pcoder.cjs
27+
28+
- name: Onboarding smoke
29+
run: |
30+
scripts/pcoder setup --init
31+
scripts/pcoder setup --codex-auth oauth --claude-auth oauth --windows-mode linux-portable --sync-back true
32+
scripts/pcoder auth status
33+
34+
- name: Doctor check with stubbed runners
35+
env:
36+
PCODER_CODEX_CMD: /bin/echo
37+
PCODER_CLAUDE_CMD: /bin/echo
38+
run: scripts/pcoder doctor
39+
40+
- name: API-mode host-native launch checks
41+
env:
42+
OPENAI_API_KEY: ci-dummy-openai
43+
ANTHROPIC_AUTH_TOKEN: ci-dummy-anthropic
44+
PCODER_CODEX_CMD: /bin/echo
45+
PCODER_CLAUDE_CMD: /bin/echo
46+
run: |
47+
scripts/pcoder setup --codex-auth api --claude-auth api
48+
scripts/pcoder run codex --mode host-native -- --version
49+
scripts/pcoder run claude --mode host-native -- --version

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Auth management:
3535
Windows smoke test:
3636
- `scripts/runtime/windows/smoke-check.cmd`
3737

38+
## CI
39+
- GitHub Actions workflow: `.github/workflows/ci.yml`
40+
- Runner target: Depot-hosted runner label `depot-ubuntu-24.04`
41+
3842
Supported tool IDs:
3943
- `codex`
4044
- `claude`

docs/QUALITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ last_verified: 2026-02-18
1616
- Tool launch works for at least Codex and Claude in same bundle.
1717
- Windows launcher path handling works with spaces in project paths.
1818
- Windows VM smoke check passes: `scripts/runtime/windows/smoke-check.cmd`.
19+
- GitHub Actions CI executes on Depot runner `depot-ubuntu-24.04`.
1920

2021
## Future Automation Targets
2122
- Add harness lint for required docs metadata and plan presence.

0 commit comments

Comments
 (0)