From 12e6021a81698f223e37848aef9b639b03ef27bb Mon Sep 17 00:00:00 2001 From: Morris Tai Date: Sun, 25 Jun 2023 12:09:14 -0400 Subject: [PATCH 1/3] feat(website): add service mini-moka to docusaurus website --- core/examples/webdfs_batch/yarn.lock | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 core/examples/webdfs_batch/yarn.lock diff --git a/core/examples/webdfs_batch/yarn.lock b/core/examples/webdfs_batch/yarn.lock new file mode 100644 index 000000000000..fb57ccd13afb --- /dev/null +++ b/core/examples/webdfs_batch/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + From 2db2fffc5c4734787f82431d7ba0b5719c7647bb Mon Sep 17 00:00:00 2001 From: Morris Tai Date: Sun, 25 Jun 2023 22:45:50 -0400 Subject: [PATCH 2/3] fix: drop miss-added file --- core/examples/webdfs_batch/yarn.lock | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 core/examples/webdfs_batch/yarn.lock diff --git a/core/examples/webdfs_batch/yarn.lock b/core/examples/webdfs_batch/yarn.lock deleted file mode 100644 index fb57ccd13afb..000000000000 --- a/core/examples/webdfs_batch/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - From a756208a80064039f9a6cdce4f445b76e3ee8e34 Mon Sep 17 00:00:00 2001 From: Morris Tai Date: Mon, 26 Jun 2023 00:18:22 -0400 Subject: [PATCH 3/3] feat(service/mini-moka): add mini-moka GitHub Action job --- .github/workflows/service_test_mini_moka.yml | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/service_test_mini_moka.yml diff --git a/.github/workflows/service_test_mini_moka.yml b/.github/workflows/service_test_mini_moka.yml new file mode 100644 index 000000000000..9145ddf8f1b4 --- /dev/null +++ b/.github/workflows/service_test_mini_moka.yml @@ -0,0 +1,53 @@ +# 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: Service Test Mini Moka + +on: + push: + branches: + - main + pull_request: + branches: + - main + paths: + - "core/src/**" + - "core/tests/**" + - "!core/src/docs/**" + - "!core/src/services/**" + - "core/src/services/mini_moka/**" + - ".github/workflows/service_test_mini_moka.yml" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + mini-moka: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup Rust toolchain + uses: ./.github/actions/setup + with: + need-nextest: true + - name: Test + shell: bash + working-directory: core + run: cargo nextest run mini_moka --features services-mini-moka + env: + OPENDAL_MINI_MOKA_TEST: on