mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 06:54:28 +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
|
- name: Test Local Release
|
||||||
run: |
|
run: |
|
||||||
bun run release:local --skip-check --out /tmp/shumai-local-release --force
|
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