test(ci): run unit suite on macOS

This commit is contained in:
marius-kilocode
2026-06-23 10:32:42 +02:00
parent e5a16d7afa
commit fd6a656973
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -30,6 +30,8 @@ jobs:
settings:
- name: linux
host: blacksmith-4vcpu-ubuntu-2404 # kilocode_change
- name: macos
host: macos-15 # kilocode_change
- name: windows
host: blacksmith-4vcpu-windows-2025 # kilocode_change
runs-on: ${{ matrix.settings.host }}
@@ -81,7 +83,7 @@ jobs:
KILO_EXPERIMENTAL_DISABLE_FILEWATCHER: ${{ runner.os == 'Windows' && 'true' || 'false' }}
- name: Run HttpApi exerciser gates
if: runner.os == 'Linux'
if: runner.os != 'Windows'
working-directory: packages/opencode
run: bun run test:httpapi
@@ -1,4 +1,5 @@
import { afterEach, describe, expect } from "bun:test"
import { realpath } from "node:fs/promises" // kilocode_change
import { Deferred, Effect, Fiber, Layer } from "effect"
import { eq } from "drizzle-orm"
import { GlobalBus, type GlobalEvent } from "@/bus/global"
@@ -271,7 +272,8 @@ describe("experimental HttpApi", () => {
Effect.gen(function* () {
const listed = yield* request(ExperimentalPaths.worktree, tmp.directory)
expect(listed.status).toBe(200)
expect(yield* json(listed)).toContainEqual({ directory: info.directory, managed: true }) // kilocode_change
const directory = yield* Effect.promise(() => realpath(info.directory)) // kilocode_change
expect(yield* json(listed)).toContainEqual({ directory, managed: true }) // kilocode_change
const reset = yield* request(ExperimentalPaths.worktreeReset, tmp.directory, {
method: "POST",