Making sure pusher and admin are started in CI

This commit is contained in:
David Négrier 2021-11-24 16:22:26 +01:00
parent b02c09fc7b
commit 065404758b
1 changed files with 6 additions and 0 deletions

View File

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