This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 76a2f026c feat(CI): set Kvrocks test for service redis (#2613)
76a2f026c is described below

commit 76a2f026c684842423bf10a584cfdbf3f5cbc9e9
Author: Suyan <[email protected]>
AuthorDate: Sun Jul 9 23:26:08 2023 +0800

    feat(CI): set Kvrocks test for service redis (#2613)
    
    kvrocks test for service redis
    
    Signed-off-by: suyanhanx <[email protected]>
---
 .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 c35c50dc0..d6a891839 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

Reply via email to