From 6119655d318111b2272012df313c4131544fbd4f Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Wed, 22 May 2024 20:29:57 +0530 Subject: [PATCH] fix: trying out docker-compose in actions --- .github/workflows/quick-testing.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/quick-testing.yml b/.github/workflows/quick-testing.yml index f36c6241..f09cf801 100644 --- a/.github/workflows/quick-testing.yml +++ b/.github/workflows/quick-testing.yml @@ -10,22 +10,8 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Docker - run: | - curl -fsSL https://get.docker.com | sh - sudo systemctl start docker - - - name: Set up Docker Compose - run: | - curl -L "https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose - docker-compose version - - - name: Start Docker Compose + - name: Build the stack run: docker-compose up -d - - name: Wait for services to start - run: sleep 20 - - - name: Ping localhost - run: curl --fail http://localhost:3001 || exit 1 + - name: In 30 seconds, check docker ps + run: sleep 30 && docker ps \ No newline at end of file