Skip to content

Commit f12458e

Browse files
author
georgiy.rusanov
committed
debug
1 parent 3969a9a commit f12458e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)