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

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

commit b6d9570f395f927aaa06e0e15beb3625000cc049
Author: Xuanwo <[email protected]>
AuthorDate: Tue May 2 00:08:39 2023 +0800

    feat(tests): Enable supabase integration tests
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .env.example                | 5 +++++
 core/tests/behavior/main.rs | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/.env.example b/.env.example
index 2b83073a..fbf3a4df 100644
--- a/.env.example
+++ b/.env.example
@@ -87,3 +87,8 @@ OPENDAL_WEBHDFS_TEST=false
 OPENDAL_WEBHDFS_ROOT=/tmp/opendal/
 OPENDAL_WEBHDFS_ENDPOINT=http://127.0.0.1:9870
 OPENDAL_WEBHDFS_DELEGATION=<delegation>
+# supbase
+OPENDAL_SUPABASE_TEST=false
+OPENDAL_SUPABASE_BUCKET=<bucket>
+OPENDAL_SUPABASE_ENDPOINT=<endpoint>
+OPENDAL_SUPABASE_KEY=<service_key>
diff --git a/core/tests/behavior/main.rs b/core/tests/behavior/main.rs
index 3bae994c..afe6ee4e 100644
--- a/core/tests/behavior/main.rs
+++ b/core/tests/behavior/main.rs
@@ -131,6 +131,8 @@ behavior_tests!(Oss);
 behavior_tests!(S3);
 #[cfg(feature = "services-sftp")]
 behavior_tests!(Sftp);
+#[cfg(feature = "services-supabase")]
+behavior_tests!(Supabase);
 #[cfg(feature = "services-sled")]
 behavior_tests!(Sled);
 #[cfg(feature = "services-webdav")]

Reply via email to