From a3597c951d00f61c5f297761f0bb39daf15618fb Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Wed, 5 Aug 2020 17:18:03 -0700 Subject: [PATCH] CodeCov: Create flags Added flag: cli for cli project Added flag: plugin for java --- .github/workflows/CI.yml | 1 + .../esad-cli-test-and-build-workflow.yml | 2 +- codecov.yml | 25 +++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3c708e53..845a051e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -79,4 +79,5 @@ jobs: uses: codecov/codecov-action@v1 with: file: ./build/reports/jacoco/test/jacocoTestReport.xml + flags: plugin diff --git a/.github/workflows/esad-cli-test-and-build-workflow.yml b/.github/workflows/esad-cli-test-and-build-workflow.yml index 840a0897..e3fbd8ef 100644 --- a/.github/workflows/esad-cli-test-and-build-workflow.yml +++ b/.github/workflows/esad-cli-test-and-build-workflow.yml @@ -70,5 +70,5 @@ jobs: with: token: ${{secrets.CODECOV_TOKEN}} file: cli/coverage.out - flags: unittests + flags: cli name: codecov-umbrella diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..7e8e0718 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,25 @@ +coverage: + status: + project: + default: + target: auto + plugin: + target: auto + flags: + - plugin + cli: + target: 75% + flags: + - cli +comment: + layout: "reach, diff, flags, files" + behavior: default + require_changes: false + require_base: no + require_head: no + branches: null +flags: + plugin: + carryforward: true + cli: + carryforward: true \ No newline at end of file