-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Codecoverage Upload (Jacoco/Codecov) (#1981)
* (squash) draft implementation another miscopy typo typo in dirname feed cobertura.xml into codecov instead of scoverage.xml specify files due to autodetect failure use coverageAggregate instead of coverageReport load default codecov behaviour into codecov.yml typo draft impl * add changes to codecov.yml * (squash) don't upload to codecov when there is nothing to upload * (squash) use jacoco instead of scoverage autodetect on codecov uploader seems to work new bash features not supported on CI try using jacoco * update README with codecov link * try adding some retry to the codecov uploader
- Loading branch information
1 parent
525321c
commit 3d63170
Showing
6 changed files
with
72 additions
and
22 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# note that if an org-wide global config is configured, it will be merged (with duplicate settings taking priority from this file) | ||
# it's better to explicitly set all configs if you want consistency | ||
|
||
codecov: | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "0...100" # acceptable coverage range | ||
|
||
# default behaviour | ||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
# can be configured in https://docs.codecov.com/docs/pull-request-comments | ||
comment: | ||
layout: "reach,diff,flags,files,footer" | ||
behavior: default | ||
require_changes: no |
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