Skip to content

Commit

Permalink
remove waiting docker ps
Browse files Browse the repository at this point in the history
  • Loading branch information
AmelieLoulergue committed Nov 20, 2024
1 parent bee3c3d commit edd6ce6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@ jobs:
uses: hoverkraft-tech/[email protected]
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
Expand Down

0 comments on commit edd6ce6

Please sign in to comment.