From ae650c13c13a37369757c827413f6f916d25d1b1 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 7 Nov 2024 11:57:16 +0000 Subject: [PATCH] Debug --- .github/actions/test/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 00052ff..a2da505 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -44,6 +44,14 @@ runs: curl -i http://localhost:${{ env.PORT }}/healthcheck/live/ shell: bash + - name: Curl + run: for c in {1..30}; do sleep 1 && curl -s http://localhost:${{ env.PORT }}/healthcheck/live/ | grep -o "ok" && break; done + shell: bash + + - name: Wait for healthcheck + uses: emilioschepis/wait-for-endpoint@v1.0.4 + with: + url: http://localhost:${{ env.PORT }}/healthcheck/live/ - name: Wait for healthcheck