Files
skillshare/ai_docs/tests/mdproof.json
T
Willie 1ceccb936c fix(e2e): add step_setup cd $HOME to prevent workspace pollution
mdproof runs with cwd=/workspace which has .skillshare/config.yaml,
triggering project mode auto-detection. step_setup ensures every
step runs from the isolated HOME instead.
2026-03-26 23:11:43 +08:00

9 lines
646 B
JSON

{
"build": "cd /workspace && make build && /workspace/.devcontainer/ensure-skillshare-linux-binary.sh && /workspace/.devcontainer/ensure-mdproof.sh",
"isolation": "per-runbook",
"step_setup": "cd $HOME",
"setup": "rm -rf /tmp/test-project /tmp/test-proj /tmp/extras-proj /tmp/copy-target /tmp/sym-target /tmp/test /tmp/bad-config.yaml /tmp/config-before.yaml 2>/dev/null; mkdir -p ~/.config ~/.local/share ~/.local/state ~/.cache ~/.claude ~/.codex; /workspace/bin/skillshare init -g --force --all-targets --no-git --no-skill",
"teardown": "/workspace/bin/skillshare uninstall --all -g --force 2>/dev/null || true",
"timeout": "5m"
}