mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 21:27:40 +00:00
ci(release): add smoke tests to local release stage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user