This is an automated email from the ASF dual-hosted git repository. Xuanwo pushed a commit to branch xuanwo/ftp-nightly-binding-matrix in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 65998345308dcc65b75e0a47f650c20ffc0be010 Author: Xuanwo <[email protected]> AuthorDate: Wed Nov 25 20:57:28 2026 +0100 ci: schedule FTP behavior tests for bindings that enable FTP --- .github/scripts/test_behavior/plan.py | 4 ++++ .github/scripts/test_behavior/test_plan.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/.github/scripts/test_behavior/plan.py b/.github/scripts/test_behavior/plan.py index 956a4bd3e3..8bfd2c53e4 100755 --- a/.github/scripts/test_behavior/plan.py +++ b/.github/scripts/test_behavior/plan.py @@ -279,6 +279,10 @@ def _filter_binding_cases( # These fixtures target core services without enabling bindings. cases = [v for v in cases if v["service"] not in ["github", "hf3fs", "smb"]] + # The default Java and .NET native libraries omit the services-ftp feature. + if language in ("java", "dotnet"): + cases = [v for v in cases if v["service"] != "ftp"] + if language == "java": cases = [ v diff --git a/.github/scripts/test_behavior/test_plan.py b/.github/scripts/test_behavior/test_plan.py index 84ac75084b..1a5b99fd62 100644 --- a/.github/scripts/test_behavior/test_plan.py +++ b/.github/scripts/test_behavior/test_plan.py @@ -323,6 +323,25 @@ class BehaviorTestPlan(unittest.TestCase): go_oses = {target["os"] for target in result["binding_go"]} self.assertEqual(go_oses, {"ubuntu-latest", "windows-latest", "macos-latest"}) + def test_nightly_local_keeps_ftp_for_core_and_respects_native_binding_support(self): + result = plan([], mode="nightly-local") + core_setups = { + (case["service"], setup) + for target in result["core"] + for case in target["cases"] + for setup in case["setups"] + } + self.assertIn(("ftp", "vsftpd"), core_setups) + + for language in ("java", "dotnet"): + with self.subTest(language=language): + binding_services = { + case["service"] + for target in result[f"binding_{language}"] + for case in target["cases"] + } + self.assertNotIn("ftp", binding_services) + def test_nightly_live_ignores_empty_diff_and_excludes_local_setups(self): result = plan([], mode="nightly-live") self.assertTrue(result["components"]["core"])
