From edaa9e4101364baa7234d4dd6c6df970a966aba8 Mon Sep 17 00:00:00 2001 From: maaikelimper Date: Tue, 29 Aug 2023 15:28:38 +0000 Subject: [PATCH] check failed tests, add sleep --- .github/workflows/basic_test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/basic_test.yml b/.github/workflows/basic_test.yml index 0de401a..e988924 100644 --- a/.github/workflows/basic_test.yml +++ b/.github/workflows/basic_test.yml @@ -17,7 +17,7 @@ jobs: run: docker-compose -f test/docker-compose.yml up -d - name: Wait for service to start - run: sleep 20 + run: sleep 25 - name: Check status code run: | @@ -27,4 +27,10 @@ jobs: echo "Request failed with status code:" echo ${status_code} exit 1 - fi \ No newline at end of file + fi + + - name: failed tests 🚩 + if: ${{ failure() }} + run: | + echo "check docker logs" + docker-compose -f test/docker-compose.yml logs \ No newline at end of file