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

Github actions codecov v2 config reference unknown

I'm using the Codecovv2 GitHub action in my project but am struggling with getting any of the configuration to work with my workflow file. I have a codecov.yml file inside of my workflows folder that runs (I'll attach this) but cannot seem to…
Ryan H
  • 2,620
  • 4
  • 37
  • 109
0
votes
2 answers

Path fixing in Codecov: some files work others not

I have a project to casually play around with C++ test coverage. (https://github.com/adomasbaliuka/test_repository, question refers to commits 58e2802f76e8eb7819209c9d518b0ffe76690d15 and ca36a4fd0e38bc47204a155614c498936d43dc90) The question…
Adomas Baliuka
  • 1,384
  • 2
  • 14
  • 29
0
votes
1 answer

code coverage is GREEN on the if-statement condition but RED on its expression. Why?

Here is the code coverage report (from codecov) for my Stan-based R package on GitHub: https://codecov.io/gh/zhengxiaoUVic/rmBayes/src/main/R/rmHDI.R As you can see, some if-statements have green headers but red bodies. Why? Thanks for any comments.
0
votes
1 answer

Android CodeCov/Jacoco for Library Module

I am trying to implement CodeCov/Jacoco as described here: https://about.codecov.io/blog/code-coverage-for-android-development-using-kotlin-jacoco-github-actions-and-codecov/ This guide works really well for the main app module, specified with…
0
votes
1 answer

How to upload xUnit coverage reports to Codecov?

I have a .Net 5 solution with multiple xUnit test projects which is a public repository hosted on Github. I would like to generate code coverage reports and display them on Codecov. First I run dotnet add package coverlet.msbuild for each test…
Question3r
  • 2,166
  • 19
  • 100
  • 200
0
votes
0 answers

Android + Bitrise + Codecov ignore is not working

I am new bee in the codecov implementation. I am implementing codecov for my android library. I have read the codecov documentation, I have added the "Jococo" plugin in gradle. Locally everything working perfect, On the bitrise also Jococo gradlew…
Chinmay
  • 423
  • 5
  • 19
0
votes
1 answer

Trying to add a this Checksum check to my Shell script

I have the following Codecov script (which works fine) but i'm trying to add a CHECKSUM check to the script line. given the script: bash <(curl https://codecov.io/bash) -s './CodeCoverageResults/' -f '*.xml' -Z -t I wish to now add the…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
0
votes
0 answers

error adding provate repo on codecov `Account activation required. To view this page your account must be activated.`

I'm using codecov without issue in a public repo, (this one) with the same account I'm trying to add a private repo but when I try to add the repo in the codecov website I get the error below Account activation required. To view this page your…
Francesco Iapicca
  • 2,618
  • 5
  • 40
  • 85
0
votes
1 answer

How to exclude files and folders from codecov scan?

How can I exclude some files and folders from codecov scan? I saw here docs, that I should use an ignorePaths element in codecov.yml. I did so, but codecov still scans those files?
Hezi Schrager
  • 391
  • 6
  • 18
0
votes
1 answer

Codecov only reporting on how much of my tests were run

I am using GitHub actions (for my Python library) to run a coverage report that is uploaded to CodeCov. After a lot of difficulty, I finally got the report running and uploaded to CodeCov. The problem is that the report says 100% of code in my tests…
Matthew Reid
  • 332
  • 2
  • 9
0
votes
1 answer

Codecov order by coverage percentage

I configured CI as python -m pytest -v --cov-report term --cov=./src and codecov after success. I would like to get the final coverage order by (sorted by) Cover column in descending order (from 100% at the top and 0% at the bottom). However, I can…
iamtodor
  • 734
  • 8
  • 21
0
votes
1 answer

Codecov bash uploader `eval error` on `alpine:edge` docker image

I'm trying to upload coverage reports to codecov.io using the codecov-bash script provided by Codecov. The bash script fails to run on Gitlab CI running an alpine:edge docker image. Below is the error: $ /bin/bash <(curl -s…
Puka
  • 1,485
  • 1
  • 14
  • 33
0
votes
1 answer

gcov and unconditional loop coverage

Does anyone know how gcov (for C and C++) handles conditional vs unconditional loops. Specifically, if you have a conditional loop, you need to test 0, 1 or more for the loop. If you have an unconditional loop, you do not need any additional tests.…
Rian Quinn
  • 1,766
  • 12
  • 22
0
votes
2 answers

CircleCi and CodeCov: The '<' operator is reserved for future use

I am trying to integrate CodeCov in CircleCI, but the command bash <(curl -s https://codecov.io/bash) returns The '<' operator is reserved for future use. when executed in the pipeline. I am following the documentation that I found for CodeCov:…
0
votes
1 answer

Provided token is not a UUID error with Gitlab CI

I am trying to do code coverage for a flask app in Python and uploading it on the codecov.io platform. I am trying to upload it directly via Gitlab CI, but it doesn't happen. It keeps throwing the following error: HTTP 400 Provided token is not a…
some_programmer
  • 3,268
  • 4
  • 24
  • 59