From 755d4fece1fc42454d615bde3d9a6f5248f9c3a4 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Mon, 19 Aug 2024 06:15:40 +0000 Subject: [PATCH] chore: setup kafka before downloading binary step --- .github/workflows/develop.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index ac4a6f64dcbd..a81899c5175f 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -597,6 +597,10 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v4 + - if: matrix.mode.kafka + name: Setup kafka server + working-directory: tests-integration/fixtures/kafka + run: docker compose -f docker-compose-standalone.yml up -d --wait - name: Download pre-built binaries uses: actions/download-artifact@v4 with: @@ -604,10 +608,6 @@ jobs: path: . - name: Unzip binaries run: tar -xvf ./bins.tar.gz - - if: matrix.mode.kafka - name: Setup kafka server - working-directory: tests-integration/fixtures/kafka - run: docker compose -f docker-compose-standalone.yml up -d --wait - name: Run sqlness run: RUST_BACKTRACE=1 ./bins/sqlness-runner ${{ matrix.mode.opts }} -c ./tests/cases --bins-dir ./bins --preserve-state - name: Upload sqlness logs