mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
Extend smoke workflow to run linting and tests, add python3 to sandbox
Add python3 to the Daytona Dockerfile so MCP integration tests can run their test server. Update the smoke workflow to verify fmt, clippy, cargo test, typecheck, and bun test. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6db816e8b3
commit
c5df9176b3
2 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ auto_stop_interval = 30
|
|||
repo = "fabro-sh/fabro"
|
||||
|
||||
[sandbox.daytona.snapshot]
|
||||
name = "fabro-v2"
|
||||
name = "fabro-v3"
|
||||
cpu = 4
|
||||
memory = 8
|
||||
disk = 20
|
||||
|
|
@ -22,7 +22,7 @@ dockerfile = """
|
|||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl git ca-certificates build-essential pkg-config libssl-dev unzip \
|
||||
curl git ca-certificates build-essential pkg-config libssl-dev unzip python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Rust
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
digraph Smoke {
|
||||
graph [goal="Verify the sandbox is working"]
|
||||
graph [goal="Verify the sandbox can lint and test the project"]
|
||||
rankdir=LR
|
||||
|
||||
start [shape=Mdiamond, label="Start"]
|
||||
exit [shape=Msquare, label="Exit"]
|
||||
|
||||
main [label="Smoke Test", prompt="Run these commands and report the results:\n1. echo 'Hello from Daytona'\n2. uname -a\n3. which git && git --version\n4. which rustc && rustc --version || echo 'no rustc'\n5. which bun && bun --version || echo 'no bun'\n\nReport what you found."]
|
||||
main [label="Smoke Test", prompt="Run each of these commands in order and report the results. If any command fails, continue running the rest and report all results at the end.\n\n1. rustc --version && cargo --version\n2. bun --version\n3. cargo fmt --check --all\n4. cargo clippy --workspace -- -D warnings\n5. cargo test --workspace\n6. cd apps/fabro-web && bun install && bun run typecheck\n7. cd apps/fabro-web && bun test\n\nReport a summary table of pass/fail for each step."]
|
||||
|
||||
start -> main -> exit
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue