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
1
vote
0 answers

When using travis-ci to build a project, the data of the corresponding test result data cannot be obtained after the test script runs

codecov Unable to find report content in the storage archive. https://travis-ci.com/ninecat-ui/ninecat-ui/jobs/280868707 this url is the project test stage and my .travis.yml file is https://github.com/ninecat-ui/ninecat-ui/blob/master/.travis.yml
Terence
  • 11
  • 1
1
vote
0 answers

Combine coverage reports of different languages

I have 2 different test coverage files one is for Go (coverage.out) and other is for Python (.coverage). I want single combined report from these 2 coverage files. One of the solution I know is to upload these files into https://codecov.io and…
1
vote
2 answers

stack install codecov-haskell failed with error

I am trying to install codecov-haskell via stack using stack install codecov-haskell -v, I've got the following error: 2019-10-07 19:31:22.039891: [info] codecov-haskell> build 2019-10-07 19:31:22.040092: [debug] Run process within…
mkUltra
  • 2,828
  • 1
  • 22
  • 47
1
vote
1 answer

Codecov with Circle CI coverage source

In my project am using circleCI with codecov for a Springboot maven project. Below is relevant part of the .circleci/config.yml # run tests! and gen code coverage - run: mvn integration-test cobertura:cobertura - store_test_results: …
Ithar
  • 4,865
  • 4
  • 39
  • 40
1
vote
0 answers

How to codecov properly a code that is expanded by a macro

I'm having some trouble on trying to check the code coverage of one of my projects on github hosted here. It is mainly C and macros that expand to some usable code. I was writing one test and decided to publish it earlier. This means that the test…
LeoVen
  • 632
  • 8
  • 18
1
vote
0 answers

Codecov commit status in GitHub not getting updated when yaml file is updated

I changed our CodeCov team yaml file to change the commit status in Github, as seen below. initial file: coverage: precision: 2 round: down status: project: default: target: 80% modified file: coverage: precision: 2 …
MichDuss
  • 11
  • 2
0
votes
0 answers

make GCC11 behave like GCC10 for gfortran .gcda and .gcno files

GCC11 seems to have broken the output behavior of .gcno and .gcda files. Instead of being placed in the compilation directory (ie.e directory where I launch the compilation command from) with the filename matching the f90, just with a changed…
James
  • 1,764
  • 5
  • 31
  • 49
0
votes
0 answers

Codecov coverage differs from local coverage due to renamed test

I renamed and added a new test in my test suite. Following these changes, the coverage from codecov is different from the coverage I get locally. Based on this answer, I read the following information which proposes how to find the cause of the…
0
votes
1 answer

how can I get the patch % data from code cov api

I am trying to do some code coverage analysis, and we enabled codecov on our opensource projec. but I can get the following information: patch % of a PR the response json explaination anyone could help on this? thanks a lot in…
0
votes
0 answers

Excluding files from jacoco while reporting code coverage using Jenkins pipeline

I am using jacoco maven plugin for build and jacoco() & codecov in my JenkinsFile to report code coverage. I have exceuded some file in the jacoco maven plugin. The exclusion works on the report generated by codecov but not for…
Suraj Menon
  • 1,486
  • 3
  • 28
  • 50
0
votes
2 answers

Why does PHPUnit in a GitHub workflow generate different test coverage XML report compared to local?

I am running a code coverage workflow in GitHub action for this PHP package and it generates a different XML report than the one I get when I run the PHPUnit tests locally, resulting in lower coverage score. Here is the workflow file: name: Update…
SlimDeluxe
  • 733
  • 8
  • 18
0
votes
0 answers

Android: combine multiple coverage reports

I have many modules in my app ( about 500 as it is a mono repo) and I use jacoco to generate code coverage reports. So I have about 500 xml reports. I am trying to upload it to CodeCov and it has limit on the number of reports per commit. So I am…
png
  • 4,368
  • 7
  • 69
  • 118
0
votes
1 answer

How to set up Codecov for Github?

I am getting Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov' failed with exit code 255 (https://github.com/eftalgezer/SIESTAstepper/actions/runs/3077344665/jobs/4972146066) I…
0
votes
1 answer

JAVA CodeCov | CodeCov tests both main and test files, How to check only main files?

I have a file name AVLTree.java, to test I have created AVLTreetest.java but codecov tests both src/main 80% and src/test 0% folder so due to that my score is reduced This is my src directory src - main->java->avl_java_travis_cli->AVLTree.java …
Rohit gupta
  • 211
  • 3
  • 18
0
votes
1 answer

CodeCov is ignoring certain files. No settings for ignore in YAML. Python/Django

I have a Python Django project on GitHub and I'm using CodeCov with this project. I have two apps in this Django project, a general app, and a general_api app. For some reason, all of the changes made in the general_api app files are being…
Joey Iglesias
  • 461
  • 4
  • 9