File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,15 @@ jobs:
129129 npm install -g wscat
130130
131131 echo "Testing WebSocket connection to supabase realtime..."
132- timeout 5 wscat -c ws://127.0.0.1:54321/realtime/v1/websocket || echo "WebSocket connection failed"
132+ timeout 5 wscat -c ws://127.0.0.1:54321/realtime/v1/websocket || echo "WS connection failed or timed out "
133133
134- echo "Displaying Supabase logs..."
135- docker logs supabase_db || echo "No logs or failed to fetch logs"
136- docker logs supabase_api || echo "No logs or failed to fetch logs"
134+ docker ps --format '{{.Names}}'
135+
136+ echo "docker logs"
137+ for name in $(docker ps --format '{{.Names}}'); do
138+ echo "Logs for $name:"
139+ docker logs --tail 20 $name || echo "No logs for $name"
140+ done
137141
138142 - name : Build and test expo
139143 run : |
You can’t perform that action at this time.
0 commit comments