From edd6ce6fe5530f3391f8a9283c5e677896b25ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lie=20Loulergue?= Date: Wed, 20 Nov 2024 11:15:46 +0100 Subject: [PATCH] remove waiting docker ps --- .github/workflows/ci.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5e5717..a1b266e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,21 +20,6 @@ jobs: uses: hoverkraft-tech/compose-action@v2.0.1 with: compose-file: "./docker-compose.yml" - - - name: Wait for services to be healthy - run: | - timeout=30 - echo "Waiting for Docker services to be healthy..." - while ! ( docker-compose ps | grep -q "healthy" ) && [ $timeout -gt 0 ]; do - sleep 1 - timeout=$((timeout-1)) - done - if [ $timeout -eq 0 ]; then - echo "Services did not become healthy in time. Aborting." - docker-compose down - exit 1 - fi - - name: Run Tests run: | cd ${{ github.workspace }}/TESTS