Skip to content

Commit 845abab

Browse files
committed
modified 2e2_test
1 parent d2569bb commit 845abab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/endtoend_test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ jobs:
2828
- name: Wait for server to be ready
2929
run: sleep 5
3030

31-
- name: Send GET request
31+
- name: Send GET request and check response
3232
run: |
3333
response=$(curl -s http://localhost:5000)
3434
echo "Response: $response"
35-
36-
- name: Output result
37-
run: |
35+
3836
if [ "$response" == "Hello there!" ]; then
3937
echo "The value received is correct"
4038
else

0 commit comments

Comments
 (0)