Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ jobs:
- name: Start docker-compose
run: |
docker-compose -f docker-compose.yml up -d --build

- name: Smoke test API
run: |
sleep 15
curl -sf http://localhost:3001 || exit 1

- smoke-test:
image: curlimages/curl
depends_on:
- webapp
- api
- name: Smoke test Webapp
run: |
sh -c "sleep 5 && curl -sf http://localhost:3001 || exit 1"
sleep 15
curl -sf http://localhost:3000 || exit 1