From d507b85b198ef57f1efaf2cede311363b8f258b1 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Thu, 28 Dec 2023 04:07:04 +0000 Subject: [PATCH] chore: add sqlness with kafka wal ci config --- .github/workflows/develop.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index d95c495db14b..979e19be181f 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -105,6 +105,37 @@ jobs: path: ${{ runner.temp }}/greptime-*.log retention-days: 3 + sqlness-kafka-wal: + name: Sqlness Test with Kafka Wal + if: github.event.pull_request.draft == false + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-20.04-8-cores ] + timeout-minutes: 60 + steps: + - uses: actions/checkout@v3 + - uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.RUST_TOOLCHAIN }} + - name: Rust Cache + uses: Swatinem/rust-cache@v2 + - 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: cargo sqlness -w kafka -k 127.0.0.1:9092 + - name: Upload sqlness logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: sqlness-logs + path: ${{ runner.temp }}/greptime-*.log + retention-days: 3 + fmt: name: Rustfmt if: github.event.pull_request.draft == false