Description
When I run a local script in my repo then CodeCov works:
But when it runs in Travis-CI:
I get “There was an error processing coverage reports”
Repository
Versions
Please include the browser and OS and what versions you’re running.
macOS 10.15.4 with Safari and Firefox 75.0, Windows 10 1909 with FireFox, Ubuntu 18.04 with Firefox
Additional Information
https://github.com/acgetchell/CDT-plusplus/blob/develop/codecov.yml
tom
2
Hi @acgetchell,
There’s an error in your YAML file as coverage -> notify -> gitter -> default
cannot be null. Here is an example of Gitter notifications Notifications
Let me know if that works!
Thanks for the reply @tom!
It didn’t appear to work:
tom
4
HI @acgetchell, mind shooting over your yaml? I think there’s still an issue here.
1 Like
https://github.com/acgetchell/CDT-plusplus/blob/develop/codecov.yml
codecov:
token: d0630cb4-d416-4dff-95a1-7735a7f25cdc
notify:
require_ci_to_pass: no
coverage:
precision: 2
round: down
range: "30...100"
status:
project:
default:
threshold: 3%
patch: no
changes: no
notify:
gitter:
url: https://webhooks.gitter.im/e/c70e4d2749931f601747
threshold: 1%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach, diff, flags, files, footer"
behavior: default
require_changes: false
ignore:
- "tests/"
tom
6
Hi @acgetchll,
Apologies, there was an error in the docs that I sent you, and I have updated them since.
codecov:
token: <removed>
notify:
require_ci_to_pass: no
coverage:
precision: 2
round: down
range: "30...100"
status:
project:
default:
threshold: 3%
patch: no
changes: no
notify:
gitter:
default:
url: https://webhooks.gitter.im/e/c70e4d2749931f601747
threshold: 1%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach, diff, flags, files, footer"
behavior: default
should work for you.
Hi @tom! Thanks for the suggestion!
I note that this is the same as my original, except for two settings:
comment:
require_changes: false
ignore:
- "tests/"
Would those cause issues?
tom
8
HI @acgetchell, nope should be good!
token: <removed>
notify:
require_ci_to_pass: no
coverage:
precision: 2
round: down
range: "30...100"
status:
project:
default:
threshold: 3%
patch: no
changes: no
notify:
gitter:
default:
url: https://webhooks.gitter.im/e/c70e4d2749931f601747
threshold: 1%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach, diff, flags, files, footer"
behavior: default
require_changes: false
ignore:
- "tests/"