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 97d5003ad refactor(services/memory): migrate to test planner (#3390)
97d5003ad is described below

commit 97d5003adfec6825658fbf82105761645fe5720e
Author: Suyan <[email protected]>
AuthorDate: Fri Oct 27 08:17:23 2023 +0800

    refactor(services/memory): migrate to test planner (#3390)
    
    * refactor(services/memory): migrate to test planner
    
    Signed-off-by: suyanhanx <[email protected]>
    
    * add setup step
    
    Signed-off-by: suyanhanx <[email protected]>
    
    ---------
    
    Signed-off-by: suyanhanx <[email protected]>
---
 .github/services/memory/memory/action.yml | 27 +++++++++++++++++++++++++++
 .github/workflows/service_test_memory.yml | 15 ---------------
 2 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/.github/services/memory/memory/action.yml 
b/.github/services/memory/memory/action.yml
new file mode 100644
index 000000000..ed8fbe1d7
--- /dev/null
+++ b/.github/services/memory/memory/action.yml
@@ -0,0 +1,27 @@
+# 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: memory
+description: 'Behavior test for memory'
+
+runs:
+  using: "composite"
+  steps:
+    - name: Setup
+      shell: bash
+      run: |
+        echo "OPENDAL_MEMORY_ROOT=${{ runner.temp }}/" >> $GITHUB_ENV
diff --git a/.github/workflows/service_test_memory.yml 
b/.github/workflows/service_test_memory.yml
index f2fa0a116..3277a4a67 100644
--- a/.github/workflows/service_test_memory.yml
+++ b/.github/workflows/service_test_memory.yml
@@ -37,21 +37,6 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
-  memory:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v4
-      - name: Setup Rust toolchain
-        uses: ./.github/actions/setup
-        with:
-          need-nextest: true
-      - name: Test
-        shell: bash
-        working-directory: core
-        run: cargo nextest run behavior
-        env:
-          OPENDAL_TEST: memory
-
   python:
     runs-on: ubuntu-latest
     steps:

Reply via email to