Skip to content

Commit f72f266

Browse files
committed
Run smoke tests for connectivity purposes
1 parent fd055a9 commit f72f266

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 7 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-
entrypoint: >
70-
sh -c "sleep 5 && curl -sf http://localhost:3001 || exit 1"
69+
- name: Smoke test Webapp
70+
run: |
71+
sleep 15
72+
curl -sf http://localhost:3000 || exit 1

0 commit comments

Comments
 (0)