mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 08:57:18 +00:00
test(release): add check flag to app entrypoints and simplify CI smoke tests
This commit is contained in:
@@ -48,19 +48,10 @@ jobs:
|
||||
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
|
||||
if kill -0 $PID1 2>/dev/null; then kill $PID1; else wait $PID1; fi
|
||||
bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai/bin/shumai-app.js --check
|
||||
|
||||
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
|
||||
if kill -0 $PID2 2>/dev/null; then kill $PID2; else wait $PID2; fi
|
||||
bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai-agent/bin/shumai-agent-app.js --check
|
||||
|
||||
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
|
||||
if kill -0 $PID3 2>/dev/null; then kill $PID3; else wait $PID3; fi
|
||||
bun run /tmp/shumai-local-release/node/node_modules/@shumai-one/shumai-transcode/bin/shumai-transcode-app.js --check
|
||||
|
||||
Reference in New Issue
Block a user