Skip to content

Commit 28f93e1

Browse files
committed
Run smoke tests for connectivity purposes
1 parent 19110a6 commit 28f93e1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ jobs:
6060
- name: Start docker-compose
6161
run: |
6262
docker-compose -f docker-compose.yml up -d --build
63+
64+
- name: Smoke test API
65+
run: |
66+
sleep 15
67+
curl -sf http://localhost:3001 || exit 1
6368
64-
- smoke-test:
65-
image: curlimages/curl
66-
depends_on:
67-
- webapp
68-
- api
69+
- name: Smoke test Webapp
6970
run: |
70-
sh -c "sleep 5 && curl -sf http://localhost:3001 || exit 1"
71+
sleep 15
72+
curl -sf http://localhost:3000 || exit 1

0 commit comments

Comments
 (0)