From e0a2d0e0f08d09e94232d6dc977c493ffb104bc0 Mon Sep 17 00:00:00 2001 From: Anatoly Belikov Date: Fri, 6 Dec 2024 13:49:58 +0300 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30ae392..26debb6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,6 +47,8 @@ jobs: run: cd Vereya/server && ./launch.sh & env: GITHUB_WORKSPACE: $GITHUB_WORKSPACE + - name: wait for server to run + run: timeout 60s bash -c "while ! curl -v -s http://localhost:25565/health 2>&1 | grep -q 'Empty reply'; do sleep 5s; done" - name: run test run: | ps a|grep [j]ava &&