fix tests
CI / verify (pull_request) Successful in 9s

This commit is contained in:
2026-10-04 12:55:04 +02:00
parent f527778b29
commit 74f2fa8f46
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
# CI-safe tests and scripts
Do not assume local directories, files, tools, or generated artifacts exist in a clean CI environment. In particular, `/tmp/opencode` is an agent-environment convenience, not a CI guarantee. Tests should create temporary directories with `node:os` `tmpdir()` and `mkdtemp(join(tmpdir(), prefix))`, explicitly create required parent directories and fixtures, and clean up the files they create.