Skip to content

Commit 81854ad

Browse files
committed
[core] Fix smoke test
1 parent 5261d4f commit 81854ad

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ jobs:
129129
docker run -d \
130130
--name smoke \
131131
--rm -p3000:3000 \
132+
-e WAHA_API_KEY=test \
132133
${{ vars.DOCKER_IMAGE }}:${{ matrix.tag }}
133134
134135
sleep 3

tests/smoke/goss.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ http:
44
allow-insecure: true
55
no-follow-redirects: true
66
timeout: 5000
7+
request-headers:
8+
- "X-Api-Key: test"
79
body: ['version']

0 commit comments

Comments
 (0)