fix(ci): restore Windows smoke tests (reverted by #478)

PR #478 (worktree compatibility) accidentally reverted commit d1bd7ac
which changed Windows CI from full test suite to smoke tests only.

The full test suite times out on Windows due to slow filesystem I/O.
Linux runs comprehensive tests; Windows just verifies the binary works.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-13 21:27:54 -08:00
parent 980c4aae8f
commit ae7cd934a8

View File

@@ -51,10 +51,11 @@ jobs:
file: ./coverage.out
fail_ci_if_error: false
test-windows-cmd:
name: Test (Windows - cmd)
# Windows smoke tests only - full test suite times out (see bd-bmev)
# Linux runs comprehensive tests; Windows just verifies binary works
test-windows:
name: Test (Windows - smoke)
runs-on: windows-latest
continue-on-error: true # Windows filesystem is slow; don't block PRs
steps:
- uses: actions/checkout@v6
@@ -69,30 +70,22 @@ jobs:
git config --global user.email "ci@beads.test"
- name: Build
run: go build -v ./cmd/bd
run: go build -v -o bd.exe ./cmd/bd
- name: Test cmd package
run: go test -v -short -timeout=30m -parallel=4 ./cmd/...
- name: Smoke test - version
run: ./bd.exe version
test-windows-internal:
name: Test (Windows - internal)
runs-on: windows-latest
continue-on-error: true # Windows filesystem is slow; don't block PRs
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Configure Git
- name: Smoke test - init and CRUD
run: |
git config --global user.name "CI Bot"
git config --global user.email "ci@beads.test"
- name: Test internal packages
run: go test -v -short -timeout=30m -parallel=4 ./internal/...
./bd.exe init --quiet --prefix smoke
$output = ./bd.exe create --title "Windows smoke test" --type task
$id = ($output | Select-String -Pattern "smoke-\w+").Matches.Value
echo "Created issue: $id"
./bd.exe list
./bd.exe show $id
./bd.exe update $id --status in_progress
./bd.exe close $id
echo "All smoke tests passed!"
lint:
name: Lint