You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/31 01:49:40 UTC

[incubator-opendal] branch main updated: ci(services/redis): Add dragonfly test (#1808)

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 7f688384 ci(services/redis): Add dragonfly test (#1808)
7f688384 is described below

commit 7f68838462637473a70527fd995909dcb6680152
Author: teckick <te...@gmail.com>
AuthorDate: Fri Mar 31 09:49:35 2023 +0800

    ci(services/redis): Add dragonfly test (#1808)
    
    add dragonfly redis test
---
 .github/workflows/service_test_redis.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/.github/workflows/service_test_redis.yml b/.github/workflows/service_test_redis.yml
index 9747a3a0..690e5811 100644
--- a/.github/workflows/service_test_redis.yml
+++ b/.github/workflows/service_test_redis.yml
@@ -59,3 +59,25 @@ jobs:
           OPENDAL_REDIS_ENDPOINT: tcp://127.0.0.1:6379
           OPENDAL_REDIS_ROOT: /
           OPENDAL_REDIS_DB: 0
+  dragonfly:
+    runs-on: ubuntu-latest
+    services:
+      redis:
+        image: docker.dragonflydb.io/dragonflydb/dragonfly
+        ports:
+          - 6379:6379
+    steps:
+      - uses: actions/checkout@v3
+      - name: Setup Rust toolchain
+        uses: ./.github/actions/setup
+      - name: Test
+        shell: bash
+        working-directory: core
+        run: cargo test redis --features services-redis -- --show-output
+        env:
+          RUST_BACKTRACE: full
+          RUST_LOG: debug
+          OPENDAL_REDIS_TEST: on
+          OPENDAL_REDIS_ENDPOINT: tcp://127.0.0.1:6379
+          OPENDAL_REDIS_ROOT: /
+          OPENDAL_REDIS_DB: 0