mirror of
https://github.com/katanemo/plano.git
synced 2026-07-14 16:22:12 +02:00
revert native-smoke-test to Python CLI (Tera template compat pending)
This commit is contained in:
parent
a0e0f0ffda
commit
b1486a9c68
1 changed files with 16 additions and 15 deletions
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
|
|
@ -52,36 +52,37 @@ jobs:
|
||||||
# Native mode smoke test — build from source & start natively
|
# Native mode smoke test — build from source & start natively
|
||||||
# ──────────────────────────────────────────────
|
# ──────────────────────────────────────────────
|
||||||
native-smoke-test:
|
native-smoke-test:
|
||||||
needs: plano-cli-tests
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v6
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
|
|
||||||
|
- name: Install uv
|
||||||
|
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: wasm32-wasip1
|
targets: wasm32-wasip1
|
||||||
|
|
||||||
- name: Download planoai binary
|
- name: Install planoai CLI
|
||||||
uses: actions/download-artifact@v6
|
working-directory: ./cli
|
||||||
with:
|
run: |
|
||||||
name: planoai-binary
|
uv sync
|
||||||
path: crates/target/release/
|
uv tool install .
|
||||||
|
|
||||||
- name: Make binary executable
|
|
||||||
run: chmod +x crates/target/release/planoai
|
|
||||||
|
|
||||||
- name: Build native binaries
|
- name: Build native binaries
|
||||||
working-directory: ./crates
|
run: planoai build
|
||||||
run: |
|
|
||||||
cargo build --release -p brightstaff
|
|
||||||
cargo build --release --target wasm32-wasip1 -p llm_gateway -p prompt_gateway
|
|
||||||
|
|
||||||
- name: Start plano natively
|
- name: Start plano natively
|
||||||
env:
|
env:
|
||||||
OPENAI_API_KEY: test-key-not-used
|
OPENAI_API_KEY: test-key-not-used
|
||||||
run: ./crates/target/release/planoai up tests/e2e/config_native_smoke.yaml
|
run: planoai up tests/e2e/config_native_smoke.yaml
|
||||||
|
|
||||||
- name: Health check
|
- name: Health check
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -99,7 +100,7 @@ jobs:
|
||||||
|
|
||||||
- name: Stop plano
|
- name: Stop plano
|
||||||
if: always()
|
if: always()
|
||||||
run: ./crates/target/release/planoai down || true
|
run: planoai down || true
|
||||||
|
|
||||||
# ──────────────────────────────────────────────
|
# ──────────────────────────────────────────────
|
||||||
# Single Docker build — shared by all downstream jobs
|
# Single Docker build — shared by all downstream jobs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue