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