Skip to content

Commit d77777c

Browse files
anandgupta42claude
andauthored
fix: CI test failures for TypeScript and Python jobs (#23)
Two issues: 1. TypeScript permission-task tests: test fixture wrote config to `opencode.json` but the config loader only looks for `altimate-code.json`. Updated fixture to use correct filename. 2. Python tests: `pytest: command not found` because pyproject.toml had no `dev` optional dependency group. Added `dev` extras with pytest and ruff. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d4e45b commit d77777c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/altimate-code/test/fixture/fixture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export async function tmpdir<T>(options?: TmpDirOptions<T>) {
2424
}
2525
if (options?.config) {
2626
await Bun.write(
27-
path.join(dirpath, "opencode.json"),
27+
path.join(dirpath, "altimate-code.json"),
2828
JSON.stringify({
29-
$schema: "https://opencode.ai/config.json",
29+
$schema: "https://altimate-code.dev/config.json",
3030
...options.config,
3131
}),
3232
)

packages/altimate-engine/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ warehouses = [
2828
security = ["keyring>=24.0"]
2929
docker = ["docker>=7.0"]
3030
tunneling = ["sshtunnel>=0.4", "paramiko>=3.0"]
31+
dev = ["pytest>=7.0", "ruff>=0.1"]
3132

3233
[tool.hatch.build.targets.wheel]
3334
packages = ["src/altimate_engine"]

0 commit comments

Comments
 (0)