Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
CodeCov: Create flags
Browse files Browse the repository at this point in the history
Added flag: cli for cli project
Added flag: plugin for java
  • Loading branch information
VijayanB committed Aug 6, 2020
1 parent edbc016 commit a3597c9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ jobs:
uses: codecov/codecov-action@v1
with:
file: ./build/reports/jacoco/test/jacocoTestReport.xml
flags: plugin

2 changes: 1 addition & 1 deletion .github/workflows/esad-cli-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: cli/coverage.out
flags: unittests
flags: cli
name: codecov-umbrella
25 changes: 25 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a3597c9

Please sign in to comment.