-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create code-coverage-comment.yml file to create a comment of code cov…
…erage (#410) * changelog: update codecov config and update workflows Signed-off-by: Tanner Jones <alltechguyblog@gmail.com> * modified the .codecov.yml for pr comment for code coverage Signed-off-by: Tanner Jones <alltechguyblog@gmail.com> * Makefile: create coverage during test Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com> * adjust workflows to new codecov version Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com> --------- Signed-off-by: Tanner Jones <alltechguyblog@gmail.com> Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com> Co-authored-by: Jakob Hahn <jakob.hahn@hetzner.com>
- Loading branch information
1 parent
63667a2
commit 81200d8
Showing
5 changed files
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
comment: off | ||
# https://docs.codecov.com/docs/pull-request-comments | ||
comment: | ||
layout: "diff, flags, files" | ||
behavior: default | ||
require_changes: false # if true: only post the comment if coverage changes | ||
require_base: false # [true :: must have a base report to post] | ||
require_head: true # [true :: must have a head report to post] | ||
hide_project_coverage: false # [true :: only show coverage on the git diff] | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
threshold: 5% # allow 5% coverage decrease | ||
patch: off | ||
|
||
ignore: | ||
- "opensearchapi/api.*.go" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters