This is an automated email from the ASF dual-hosted git repository. aaronai pushed a commit to branch java_dev in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit 896d75308bd534044279f695e1ea4c43fc897f00 Author: Aaron Ai <[email protected]> AuthorDate: Wed Aug 3 13:24:20 2022 +0800 Add remote cache --- .github/workflows/cpp_coverage.yml | 4 ++-- cpp/source/base/tests/AssignmentTest.cpp | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cpp_coverage.yml b/.github/workflows/cpp_coverage.yml index 7dab30f..de13042 100644 --- a/.github/workflows/cpp_coverage.yml +++ b/.github/workflows/cpp_coverage.yml @@ -4,7 +4,7 @@ on: types: [opened, reopened, synchronize] push: branches: - - master + - java_dev # mainly refer to: https://github.com/merkrafter/Merkompiler/blob/development/.github/workflows/quality_assurance.yml jobs: calculate-coverage: @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - name: Generate coverage report working-directory: ./cpp - run: bazel coverage //... + run: bazel coverage -config=remote --remote_header=x-buildbuddy-api-key=${{ secrets.BUILD_BUDDY_API_KEY }} //... - name: Upload to Codecov uses: codecov/[email protected] with: diff --git a/cpp/source/base/tests/AssignmentTest.cpp b/cpp/source/base/tests/AssignmentTest.cpp index dcb3e58..dc3e67d 100644 --- a/cpp/source/base/tests/AssignmentTest.cpp +++ b/cpp/source/base/tests/AssignmentTest.cpp @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#include "gtest/gtest.h" + #include <algorithm> -#include "rocketmq/RocketMQ.h" + #include "Protocol.h" +#include "gtest/gtest.h" +#include "rocketmq/RocketMQ.h" ROCKETMQ_NAMESPACE_BEGIN
