File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 73
73
- name : Wait for services to be ready
74
74
run : sleep 30
75
75
76
+ - name : Install websocat
77
+ run : |
78
+ sudo wget -qO /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl
79
+ sudo chmod a+x /usr/local/bin/websocat
80
+ websocat --version
81
+
76
82
- name : Run Tests
77
83
env :
78
84
FRONTEND_URL : ${{ vars.FRONTEND_URL }}
87
93
echo "Testing Frontend..."
88
94
curl -fsSL -o /dev/null $FRONTEND_URL && echo "Frontend is up"
89
95
echo "Testing Matching Service..."
96
+ if ! (echo "Hello" | websocat $MATCHING_SERVICE_URL); then
97
+ echo "WebSocket for Matching Service is not live"
98
+ else
99
+ echo "WebSocket for Matching Service is live"
100
+ fi
90
101
# Add in test for matching service in the future
91
102
92
103
# We can add more tests here
You can’t perform that action at this time.
0 commit comments