Skip to content

Commit 9e448b5

Browse files
authored
ci(bindings/go): include sqlite service into behavior tests (#6039)
1 parent 2e030d3 commit 9e448b5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/scripts/test_behavior/plan.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ def calculate_hint(changed_files: list[str]) -> Hint:
163163
hint.binding_go = True
164164
hint.all_service = True
165165

166+
# go affected
167+
if p.startswith(".github/scripts/test_go_binding"):
168+
hint.binding_go = True
169+
hint.all_service = True
170+
166171
# bin affected
167172
for bin in BIN:
168173
if p.startswith(f"bin/{bin}"):
@@ -266,10 +271,9 @@ def generate_language_binding_cases(
266271
if language == "java":
267272
cases = [v for v in cases if v["service"] != "hdfs"]
268273
elif language == "go":
269-
# sqlite: https://github.com/apache/opendal/actions/runs/14443414830/job/40498759995?pr=6018#step:22:243
270274
# hdfs: has problem with ListEmptyDir
271275
# oss: timed out with ListSubDir
272-
cases = [v for v in cases if v["service"] not in ["hdfs", "oss", "sqlite"]]
276+
cases = [v for v in cases if v["service"] not in ["hdfs", "oss"]]
273277

274278
if os.getenv("GITHUB_IS_PUSH") == "true":
275279
return cases

.github/scripts/test_go_binding/generate_test_scheme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
4747
import (
4848
opendal "github.com/apache/opendal/bindings/go"
49-
"github.com/apache/opendal-go-services/{SERVICE}"
49+
"github.com/apache/opendal-go-services/{SERVICE}"
5050
)
5151
5252
// Add more schemes for behavior tests here.

0 commit comments

Comments
 (0)