From 065404758b7b3920bad1c42417cae564b979e0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 24 Nov 2021 16:22:26 +0100 Subject: [PATCH] Making sure pusher and admin are started in CI --- .github/workflows/end_to_end_tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/end_to_end_tests.yml b/.github/workflows/end_to_end_tests.yml index 4360d5e1..e931f6c7 100644 --- a/.github/workflows/end_to_end_tests.yml +++ b/.github/workflows/end_to_end_tests.yml @@ -32,6 +32,12 @@ jobs: - name: "Wait for environment to build (and downloading testcafe image)" run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully" + - name: "Wait for back start" + run: docker-compose logs -f back | grep -m 1 "WorkAdventure HTTP API starting on port" + + - name: "Wait for pusher start" + run: docker-compose logs -f pusher | grep -m 1 "WorkAdventure starting on port" + - name: "Run tests" run: docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe