From 2c1ab2f71f36a3b002bf1ecb9365ff8f41b32a8d Mon Sep 17 00:00:00 2001 From: Nicole00 Date: Wed, 20 Oct 2021 16:20:22 +0800 Subject: [PATCH 1/2] use codecov action --- .github/workflows/maven.yml | 2 ++ codecov.yml | 0 2 files changed, 2 insertions(+) create mode 100644 codecov.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 059388d4..b18af230 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -54,3 +54,5 @@ jobs: - name: Build with Maven run: mvn -B package + + - uses: codecov/codecov-action@v2 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..e69de29b From c0c04898b10bda88b3337bd4bd0a063ac8cc9277 Mon Sep 17 00:00:00 2001 From: Nicole00 Date: Wed, 20 Oct 2021 16:20:34 +0800 Subject: [PATCH 2/2] add codecov config --- codecov.yml | 13 +++++++++++++ nebula-exchange/pom.xml | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/codecov.yml b/codecov.yml index e69de29b..bd84e13c 100644 --- a/codecov.yml +++ b/codecov.yml @@ -0,0 +1,13 @@ +# Copyright (c) 2021 vesoft inc. All rights reserved. +# +# This source code is licensed under Apache 2.0 License, +# attached with Common Clause Condition 1.0, found in the LICENSES directory. + +# For more configuration details: +# https://docs.codecov.io/docs/codecov-yaml + +# validate the configuration: +# curl -X POST --data-binary @codecov.yml https://codecov.io/validate + +codecov: + require_ci_to_pass: false diff --git a/nebula-exchange/pom.xml b/nebula-exchange/pom.xml index 78d6d87e..57251449 100644 --- a/nebula-exchange/pom.xml +++ b/nebula-exchange/pom.xml @@ -231,6 +231,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.7 + + + + prepare-agent + + + + report + test + + report + + + +