From 994f1d3b44fab26565b779f4067ceed012dbc2a4 Mon Sep 17 00:00:00 2001 From: yiling Date: Sat, 20 Jun 2026 11:23:17 +0800 Subject: [PATCH] ci(release): add smoke tests to local release stage --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48abfda8..12f23936 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,3 +46,21 @@ jobs: - name: Test Local Release run: | bun run release:local --skip-check --out /tmp/shumai-local-release --force + + echo "Smoke testing shumai..." + bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai/bin/shumai-app.js & + PID1=$! + sleep 3 + kill -0 $PID1 && kill $PID1 + + echo "Smoke testing shumai-agent..." + bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai-agent/bin/shumai-agent-app.js & + PID2=$! + sleep 3 + kill -0 $PID2 && kill $PID2 + + echo "Smoke testing shumai-transcode..." + bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai-transcode/bin/shumai-transcode-app.js & + PID3=$! + sleep 3 + kill -0 $PID3 && kill $PID3