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 &&