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/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 9e448b50b ci(bindings/go): include sqlite service into behavior tests 
(#6039)
9e448b50b is described below

commit 9e448b50bb8986065853642c35325b801d09fc6a
Author: Hanchin Hsieh <[email protected]>
AuthorDate: Thu Apr 17 11:01:23 2025 +0800

    ci(bindings/go): include sqlite service into behavior tests (#6039)
---
 .github/scripts/test_behavior/plan.py                   | 8 ++++++--
 .github/scripts/test_go_binding/generate_test_scheme.py | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/scripts/test_behavior/plan.py 
b/.github/scripts/test_behavior/plan.py
index 8f3247327..d08b90c6c 100755
--- a/.github/scripts/test_behavior/plan.py
+++ b/.github/scripts/test_behavior/plan.py
@@ -163,6 +163,11 @@ def calculate_hint(changed_files: list[str]) -> Hint:
             hint.binding_go = True
             hint.all_service = True
 
+        # go affected
+        if p.startswith(".github/scripts/test_go_binding"):
+            hint.binding_go = True
+            hint.all_service = True
+
         # bin affected
         for bin in BIN:
             if p.startswith(f"bin/{bin}"):
@@ -266,10 +271,9 @@ def generate_language_binding_cases(
     if language == "java":
         cases = [v for v in cases if v["service"] != "hdfs"]
     elif language == "go":
-        # sqlite: 
https://github.com/apache/opendal/actions/runs/14443414830/job/40498759995?pr=6018#step:22:243
         # hdfs: has problem with ListEmptyDir
         # oss: timed out with ListSubDir
-        cases = [v for v in cases if v["service"] not in ["hdfs", "oss", 
"sqlite"]]
+        cases = [v for v in cases if v["service"] not in ["hdfs", "oss"]]
 
     if os.getenv("GITHUB_IS_PUSH") == "true":
         return cases
diff --git a/.github/scripts/test_go_binding/generate_test_scheme.py 
b/.github/scripts/test_go_binding/generate_test_scheme.py
index 889f3e661..8f073a85e 100644
--- a/.github/scripts/test_go_binding/generate_test_scheme.py
+++ b/.github/scripts/test_go_binding/generate_test_scheme.py
@@ -46,7 +46,7 @@ package opendal_test
 
 import (
        opendal "github.com/apache/opendal/bindings/go"
-    "github.com/apache/opendal-go-services/{SERVICE}"
+       "github.com/apache/opendal-go-services/{SERVICE}"
 )
 
 // Add more schemes for behavior tests here.

Reply via email to