From 88fc9b7924f0e98a3b389928c596c423e53d28cd Mon Sep 17 00:00:00 2001 From: suyanhanx Date: Sun, 9 Jul 2023 23:05:09 +0800 Subject: [PATCH] kvrocks test for service redis Signed-off-by: suyanhanx --- .github/workflows/service_test_redis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/service_test_redis.yml b/.github/workflows/service_test_redis.yml index c35c50dc06cb..d6a891839a0c 100644 --- a/.github/workflows/service_test_redis.yml +++ b/.github/workflows/service_test_redis.yml @@ -82,3 +82,26 @@ jobs: OPENDAL_REDIS_ENDPOINT: tcp://127.0.0.1:6379 OPENDAL_REDIS_ROOT: / OPENDAL_REDIS_DB: 0 + + kvrocks: + runs-on: ubuntu-latest + services: + redis: + image: apache/kvrocks + ports: + - 6379:6666 + steps: + - uses: actions/checkout@v3 + - name: Setup Rust toolchain + uses: ./.github/actions/setup + with: + need-nextest: true + - name: Test + shell: bash + working-directory: core + run: cargo nextest run redis --features services-redis + env: + OPENDAL_REDIS_TEST: on + OPENDAL_REDIS_ENDPOINT: tcp://127.0.0.1:6379 + OPENDAL_REDIS_ROOT: / + OPENDAL_REDIS_DB: 0