- Web: Setup Storybook, added addons, configured Tailwind, added stories for UI components. - Backend: Updated API router, database, workers, and auth in common. - Stream Server: Removed SQLx queries and updated auth. - Docs & Scripts: Updated documentation and recovery scripts.
28 lines
566 B
Bash
Executable file
28 lines
566 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
CHAT_DIR="$REPO_ROOT/veza-chat-server"
|
|
STREAM_DIR="$REPO_ROOT/veza-stream-server"
|
|
|
|
echo "📍 Services Unit Tests"
|
|
|
|
# Chat Server
|
|
echo "🦀 Testing Chat Server..."
|
|
if [ -d "$CHAT_DIR" ]; then
|
|
cd "$CHAT_DIR"
|
|
cargo test
|
|
else
|
|
echo "⚠️ Chat Server directory not found!"
|
|
fi
|
|
|
|
# Stream Server
|
|
echo "🦀 Testing Stream Server..."
|
|
if [ -d "$STREAM_DIR" ]; then
|
|
cd "$STREAM_DIR"
|
|
cargo test
|
|
else
|
|
echo "⚠️ Stream Server directory not found!"
|
|
fi
|
|
|
|
echo "✅ Service tests passed."
|