From 438302800d4b828188ed051ca509ee9e04ff9c9b Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 7 Nov 2024 14:42:21 +0000 Subject: [PATCH] Test user --- .github/actions/test/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 3e3bc1a..8e53544 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -39,5 +39,7 @@ runs: run: for c in {1..30}; do sleep 1 && curl -s -w '%{http_code}' -o /dev/null http://localhost:${{ env.PORT }}/healthcheck/live/ | grep -o "200" && break; done shell: bash - name: Check user - run: docker compose exec ${{ inputs.service }} whoami | grep "${{ inputs.expected-user }}" + run: | + docker compose exec ${{ inputs.service }} whoami + docker compose exec ${{ inputs.service }} whoami | grep "${{ inputs.expected-user }}" shell: bash