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


The following commit(s) were added to refs/heads/main by this push:
     new 4c6bfbeb7 chore: Bring persy CI back (#3751)
4c6bfbeb7 is described below

commit 4c6bfbeb70f2d7ac1c59e6abb5a2a1a39087cdfe
Author: Xuanwo <[email protected]>
AuthorDate: Wed Dec 13 13:21:19 2023 +0800

    chore: Bring persy CI back (#3751)
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/services/persy/persy/action.yml | 32 ++++++++++++++++++++++++++++++++
 Cargo.lock                              |  4 ++--
 core/Cargo.toml                         |  2 +-
 3 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/.github/services/persy/persy/action.yml 
b/.github/services/persy/persy/action.yml
new file mode 100644
index 000000000..a833f4eca
--- /dev/null
+++ b/.github/services/persy/persy/action.yml
@@ -0,0 +1,32 @@
+# 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: persy
+description: 'Behavior test for Persy'
+
+runs:
+  using: "composite"
+  steps:
+    - name: Setup
+      shell: bash
+      run: |
+        cat << EOF >> $GITHUB_ENV
+        RUST_TEST_THREADS=1
+        OPENDAL_PERSY_DATAFILE=/tmp/test.persy
+        OPENDAL_PERSY_SEGMENT=data
+        OPENDAL_PERSY_INDEX=index
+        EOF
diff --git a/Cargo.lock b/Cargo.lock
index a2d73a63b..a43849e2d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5283,9 +5283,9 @@ checksum = 
"9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
 
 [[package]]
 name = "persy"
-version = "1.4.5"
+version = "1.4.6"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "88147b587597c600da9c52a06da6edd0000d2155324bf5caa18626e4026143be"
+checksum = "cbace0afa04e5b7ae72ef4a7ef0508f94e6514bbb134c182336eac8a767bd002"
 dependencies = [
  "crc",
  "data-encoding",
diff --git a/core/Cargo.toml b/core/Cargo.toml
index d18a9984c..8eaa0f0a9 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -269,7 +269,7 @@ openssh-sftp-client = { version = "0.14.0", optional = 
true, features = [
 opentelemetry = { version = "0.21.0", optional = true }
 parking_lot = "0.12"
 percent-encoding = "2"
-persy = { version = "1.4.4", optional = true }
+persy = { version = "1.4.6", optional = true }
 pin-project = "1"
 prometheus = { version = "0.13", features = ["process"], optional = true }
 prometheus-client = { version = "0.22.0", optional = true }

Reply via email to