From b1e45024dce66f2ef452c6dcb640f03a5cca4542 Mon Sep 17 00:00:00 2001 From: Lukas Juhrich Date: Sun, 1 Oct 2023 16:02:06 +0200 Subject: [PATCH] [ci] ping ldap server inside container before running tests --- .github/workflows/docker-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5a01e0af9..ce6c0d443 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -149,6 +149,10 @@ jobs: run: docker-compose -f docker-compose.test.yml up test-app - name: Run webpack run: docker-compose -f docker-compose.test.yml run --rm test-app webpack --mode production + - name: ping ldap server + run: > + docker-compose -f docker-compose.test.yml run --rm test-app shell + ping -c 1 ldap - name: Run tests run: > docker-compose -f docker-compose.test.yml run --rm test-app