File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -73,16 +73,23 @@ jobs:
73
73
- name : Wait for services to be ready
74
74
run : sleep 30
75
75
76
+ - name : Install websocat
77
+ run : sudo apt-get install -y websocat
78
+
76
79
- name : Run Tests
77
80
env :
78
81
FRONTEND_URL : ${{ vars.FRONTEND_URL }}
79
82
USER_SERVICE_URL : ${{ vars.USER_SERVICE_URL }}
80
83
QUESTION_SERVICE_URL : ${{ vars.QUESTION_SERVICE_URL }}
81
84
MATCHING_SERVICE_URL : ${{ vars.MATCHING_SERVICE_URL }}
82
85
run : |
83
- curl -sSL -o /dev/null $QUESTION_SERVICE_URL
84
- curl -fsSL -o /dev/null $USER_SERVICE_URL
85
- curl -fsSL -o /dev/null $FRONTEND_URL
86
- curl -fsSL -o /dev/null $MATCHING_SERVICE_URL
86
+ echo "Testing Question Service..."
87
+ curl -sSL -o /dev/null $QUESTION_SERVICE_URL && echo "Question Service is up"
88
+ echo "Testing User Service..."
89
+ curl -fsSL -o /dev/null $USER_SERVICE_URL && echo "User Service is up"
90
+ echo "Testing Frontend..."
91
+ curl -fsSL -o /dev/null $FRONTEND_URL && echo "Frontend is up"
92
+ echo "Testing Matching Service..."
93
+ websocat $MATCHING_SERVICE_URL --ping && echo "Matching Service is up"
87
94
88
95
# We can add more tests here
You can’t perform that action at this time.
0 commit comments