diff --git a/.github/services/memory/memory/action.yml b/.github/services/memory/memory/action.yml new file mode 100644 index 000000000000..ed8fbe1d7a2b --- /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 f2fa0a11697d..3277a4a67799 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: