From fa78838101561b450cc9fc3a931c2a0f90594bbb Mon Sep 17 00:00:00 2001 From: meteorgan Date: Fri, 10 Jan 2025 23:27:18 +0800 Subject: [PATCH] fix ci --- .../action.yml | 2 +- .../object_store/tests/behavior/utils.rs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/actions/test_behavior_integration_object_store/action.yml b/.github/actions/test_behavior_integration_object_store/action.yml index ce475f8d637f..707010b4db49 100644 --- a/.github/actions/test_behavior_integration_object_store/action.yml +++ b/.github/actions/test_behavior_integration_object_store/action.yml @@ -41,7 +41,7 @@ runs: - name: Run Test Integration Object Store shell: bash working-directory: integrations/object_store - run: cargo test behavior --features tests,${{ inputs.feature }} + run: cargo test behavior env: OPENDAL_TEST: ${{ inputs.service }} EOF diff --git a/integrations/object_store/tests/behavior/utils.rs b/integrations/object_store/tests/behavior/utils.rs index b509a048a004..826869048cf7 100644 --- a/integrations/object_store/tests/behavior/utils.rs +++ b/integrations/object_store/tests/behavior/utils.rs @@ -1,3 +1,20 @@ +// 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. + use libtest_mimic::{Failed, Trial}; use object_store_opendal::OpendalStore; use opendal::raw::tests::TEST_RUNTIME;