diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ab01997d..ebf7b4ca 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -129,6 +129,7 @@ jobs: docker run -d \ --name smoke \ --rm -p3000:3000 \ + -e WAHA_API_KEY=test \ ${{ vars.DOCKER_IMAGE }}:${{ matrix.tag }} sleep 3 diff --git a/tests/smoke/goss.yaml b/tests/smoke/goss.yaml index cdbbcb9f..c851bc98 100644 --- a/tests/smoke/goss.yaml +++ b/tests/smoke/goss.yaml @@ -4,4 +4,6 @@ http: allow-insecure: true no-follow-redirects: true timeout: 5000 + request-headers: + - "X-Api-Key: test" body: ['version'] \ No newline at end of file