From 0fb55ad95a87416d387649c5f35d5ec153881a42 Mon Sep 17 00:00:00 2001 From: hoslo Date: Wed, 24 Jan 2024 22:56:35 +0800 Subject: [PATCH] feat(services/pcloud): set test for pcloud --- .github/services/pcloud/pcloud/action.yml | 31 +++++++++++++++++++++++ bindings/java/Cargo.toml | 2 ++ bindings/nodejs/Cargo.toml | 2 ++ bindings/python/Cargo.toml | 2 ++ 4 files changed, 37 insertions(+) create mode 100644 .github/services/pcloud/pcloud/action.yml diff --git a/.github/services/pcloud/pcloud/action.yml b/.github/services/pcloud/pcloud/action.yml new file mode 100644 index 00000000000..11a16da72ba --- /dev/null +++ b/.github/services/pcloud/pcloud/action.yml @@ -0,0 +1,31 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: pcloud +description: 'Behavior test for Pcloud.' + +runs: + using: "composite" + steps: + - name: Setup + uses: 1password/load-secrets-action@v1 + with: + export-env: true + env: + OPENDAL_PCLOUD_ENDPOINT: op://services/pcloud/endpoint + OPENDAL_PCLOUD_USERNAME: op://services/pcloud/username + OPENDAL_PCLOUD_PASSWORD: op://services/pcloud/password diff --git a/bindings/java/Cargo.toml b/bindings/java/Cargo.toml index 9d199342c31..f91b64e4125 100644 --- a/bindings/java/Cargo.toml +++ b/bindings/java/Cargo.toml @@ -71,6 +71,7 @@ services-all = [ "services-onedrive", "services-persy", "services-postgresql", + "services-pcloud", "services-koofr", "services-mysql", "services-redb", @@ -135,6 +136,7 @@ services-mysql = ["opendal/services-mysql"] services-onedrive = ["opendal/services-onedrive"] services-persy = ["opendal/services-persy"] services-postgresql = ["opendal/services-postgresql"] +services-pcloud = ["opendal/services-pcloud"] services-redb = ["opendal/services-redb"] services-redis = ["opendal/services-redis"] services-rocksdb = ["opendal/services-rocksdb"] diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml index f9182e3a88e..afa30bcd0f8 100644 --- a/bindings/nodejs/Cargo.toml +++ b/bindings/nodejs/Cargo.toml @@ -74,6 +74,7 @@ services-all = [ "services-onedrive", "services-persy", "services-postgresql", + "services-pcloud", "services-mysql", "services-redb", "services-redis", @@ -130,6 +131,7 @@ services-mysql = ["opendal/services-mysql"] services-onedrive = ["opendal/services-onedrive"] services-persy = ["opendal/services-persy"] services-postgresql = ["opendal/services-postgresql"] +services-pcloud = ["opendal/services-pcloud"] services-redb = ["opendal/services-redb"] services-redis = ["opendal/services-redis"] services-rocksdb = ["opendal/services-rocksdb"] diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index f2145c8ee53..c7ccc6565ef 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -68,6 +68,7 @@ services-all = [ "services-onedrive", "services-persy", "services-postgresql", + "services-pcloud", "services-mysql", "services-redb", "services-redis", @@ -132,6 +133,7 @@ services-mysql = ["opendal/services-mysql"] services-onedrive = ["opendal/services-onedrive"] services-persy = ["opendal/services-persy"] services-postgresql = ["opendal/services-postgresql"] +services-pcloud = ["opendal/services-pcloud"] services-redb = ["opendal/services-redb"] services-redis = ["opendal/services-redis"] services-rocksdb = ["opendal/services-rocksdb"]