Questions tagged [codecov]

codecov.io is a hosted code coverage solution that provides highly integrated tools to group, merge, archive, and compare coverage reports.

101 questions
0
votes
1 answer

How do I stop travis from deploying if there is an issue with codecov?

If I: run a build in travis, and tests pass correctly, but there is some problem uploading coverage results to codecov, ...Travis goes ahead and deploys anyway. How can I stop travis from deploying in this case? The…
thclark
  • 4,784
  • 3
  • 39
  • 65
0
votes
1 answer

Coverage reports not being processed by codecov anymore

I had setup codecov with gitlab pipelines a while back and was able to see coverage reports in codecov. Since the initial setup the reports stopped processing after a few commits, and I have not been able to figure out what I'm doing wrong to get…
Alexander
  • 1,577
  • 5
  • 21
  • 35
0
votes
1 answer

How to write unit test for code with if else statements based on config files

I have a function like the following: const config = require('../config') getLabel (objectList) { if (config.labeling.currentVersion === 'v1') { // Do something on objectList return true } if (config.labeling.currentVersion === 'v2')…
ahajib
  • 12,838
  • 29
  • 79
  • 120
0
votes
1 answer

Commits not uploaded to codecov

I have a python proyect on github named codecovtest. I have the .travis.yml file, which starts automatic test on travis-ci, on each push on github. The test passed on travis-ci. But the coverage report isn't uploaded to codecov. What have I done…
0
votes
0 answers

Deploy from Travis to Codecov with cake

I've got a project which builds, runs unit tests and generates coverage reports set up. The last part which is failing is to upload the reports to Codecov from Travis. It works locally from my Windows PC. Travis configuration: language:…
Philippe
  • 1,949
  • 4
  • 31
  • 57
0
votes
1 answer

Class definition marked as not covered

I set up Codecov for a personal (open source) project in Qt. The project is still mostly a stub (barely a couple of classes, and I tried to achieve 100% coverage as of now. However, looking at the headers of these two classes in the Codecov report,…
phagio
  • 196
  • 1
  • 14
0
votes
1 answer

How to get codecov.io to post coverage reports to bitbucket pull request comments

I am trying out using codecov.io with BitRise and BitBucket. I am able to get code coverage reports from my pull requests posted to CodeCov.io, but not to the bitbucket pull request comments. I have added a codecov.yaml file to the repo, which…
Sam Woolf
  • 81
  • 7
0
votes
1 answer

On codecov, what does it mean when a line is not colored?

On the ethereum/solidity project they recently enabled code coverage reporting, and the report is being sent to codecov. I'm reviewing it and I found this weird thing: Here in line 45 of the Rematerializer.cpp file you can see that the line is…
elopio
  • 191
  • 1
  • 8
0
votes
1 answer

R covr package does not work

I try to test code coverage of my R package. However, after Travis-CI build succeeds, it shows an error message that the R package I test does not contain covr package as follow: Error: ‘/home/travis/build/tzuliu/ooc’ does not contain a…
tzu
  • 183
  • 1
  • 9
-1
votes
2 answers

Could anyone assist on showing the correct badges for (coverage) on Github

Could anyone assist on showing the correct badges for (coverage) on Github. I tried coveralls and codecov and both of them are showing (unknown) eventhough the code in Travis CI is passing. The link: https://github.com/Allo0o2a/JavaTriangle
Allo0o2a
  • 35
  • 1
  • 7
-1
votes
1 answer

how can we generate codecov file in python locally

I want to generate codecov in python locally. i know we can generate codecov on github using codecov action. but want to know how to do that in local system. can you have any reference
gar
  • 389
  • 1
  • 3
  • 8
1 2 3 4 5 6
7