mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
merge start and health check into single CI step to avoid process cleanup
This commit is contained in:
parent
fde90a00df
commit
e8dd0bbdf8
1 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -75,15 +75,12 @@ jobs:
|
|||
- name: Build native binaries
|
||||
run: crates/target/release/planoai build
|
||||
|
||||
- name: Start plano natively
|
||||
- name: Start plano and health check
|
||||
env:
|
||||
OPENAI_API_KEY: test-key-not-used
|
||||
run: |
|
||||
crates/target/release/planoai up tests/e2e/config_native_smoke.yaml
|
||||
sleep 2
|
||||
|
||||
- name: Health check
|
||||
run: |
|
||||
sleep 3
|
||||
for i in $(seq 1 30); do
|
||||
if curl -sf http://localhost:12000/healthz > /dev/null 2>&1; then
|
||||
echo "Health check passed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue