From ec2d17c06faefa66f58e30ea475ae668d3b4ff90 Mon Sep 17 00:00:00 2001 From: Saugat Acharya Date: Fri, 9 Feb 2024 17:17:10 +0545 Subject: [PATCH] Add test in CI workflow --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdff407..08c306e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,3 +45,11 @@ jobs: platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},name-canonical=true,push=false + - name: Start database servers + run: | + docker-compose up -d + sleep 15s + - name: Run integration tests + run: make test + - name: Stop database servers + run: docker-compose down