From 826b3159c63d692b46a5cb7f79a725439ab15935 Mon Sep 17 00:00:00 2001 From: authorjapps Date: Sat, 31 Aug 2024 10:13:39 +0100 Subject: [PATCH] Install docker compose manually and try --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c473e93..5289f034 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: CI Build +name: Zerocode TDD CI Build In Action on: workflow_dispatch: @@ -13,12 +13,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Setting up JDK8 uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' + + - name: Install Docker Compose + run: | + sudo apt-get update + sudo apt-get install -y docker-compose + - name: Running Kafka run: docker-compose -f docker/compose/kafka-schema-registry.yml up -d && sleep 10 + - name: Building and testing the changes run: mvn clean test