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
2
votes
1 answer

Is it possible to use coveralls/codecov locally?

According to Coveralls public documentation (https://docs.coveralls.io/), "Your code must be hosted on GitHub, BitBucket, or GitLab". Then the package "coveralls" in npm (https://www.npmjs.com/package/coveralls) says that "This script…
LGDGODV
  • 263
  • 1
  • 10
2
votes
1 answer

Codecov not failing Github action check

I have a private Github repository that I'd like to integrate with Codecov and check coverage on each PR that's opened. Everything is fine as far as generating the coverage report and uploading that report to Codecov, but I'm having trouble having…
bschulte3
  • 172
  • 7
2
votes
0 answers

Validating codecov using curl throws error: curl: (60) SSL certificate problem: unable to get local issuer certificate

curl --data-binary @codecov.yml https://codecov.{my.url.something}/validate This is the error: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to…
ForeverYang
  • 81
  • 1
  • 7
2
votes
1 answer

How to fix error “The filename, directory name, or volume label syntax is incorrect”?

I use codecov in a python project on Windows, but when I try to upload coverage report to codecove server I get the following error: The filename, directory name, or volume label syntax is incorrect. D:\foo>codecov -t *** _____ _ …
betontalpfa
  • 3,454
  • 1
  • 33
  • 65
2
votes
1 answer

GitHub Actions: which shell for codecov-bash on Windows?

What settings do we need to upload with GitHub Actions when running on Windows? I've tried these. With no shell: - name: Upload coverage if: success() run: | bash <(curl -s https://codecov.io/bash) env: …
Hugo
  • 27,885
  • 8
  • 82
  • 98
2
votes
0 answers

Why is this Codecov report saying that I've reduced my coverage when I don't believe I have?

I'm finding CodeCov reports hard to read at times and are potentially misleading/providing incorrect information. I'm hoping someone could confirm/deny this assertion. With this example PR, it's saying that I'm making things worse when I can't see…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
2
votes
2 answers

Using pytest coverage and codecov.io with Python

When I run pytest --cov I get a coverage value of ~60%. The report generated on codecov.io after the code is pushed to github shows 100%. I cannot understand how the two are different, I thought the same command is being ran. Codecov.io shows…
Robin Long
  • 21
  • 3
2
votes
1 answer

Codecov : No coverage report created on git merge operation

For our repos, we only push directly to hotfix or develop branch, never to the master branch. We merge from develop/hotfix into master branch only. Problem is Codecov merges all reports for a specific branch, not taking the branch into perpsective.…
Louis Charette
  • 1,325
  • 1
  • 10
  • 34
2
votes
2 answers

How do I set up codecov with Gradle Kotlin DSL?

I have read codecov/example-gradle and I am uncertain how to convert it to the Kotlin DSL. My .travis.yml: language: java jdk: - openjdk11 before_install: - chmod +x gradlew - chmod +x gradle/wrapper/gradle-wrapper.jar script: - ./gradlew test -…
Morgoth
  • 4,935
  • 8
  • 40
  • 66
2
votes
0 answers

Generating C# coverage report with AppVeyor

I am using this project to practice my integration tool skill. What I want to do is add a code coverage analysis in the CI. What I have tried: Use OpenCover to generate the report and upload to codecov. My appveyor.yml is shown as…
2
votes
1 answer

Python custom module not found but already exists

I have created a separate file to hold some custom issue classes for my Python file and upon execution of the following command: coverage run test_syntax.py it prints out the following error as seen in this Travis CI build: Traceback (most recent…
Richie Bendall
  • 7,738
  • 4
  • 38
  • 58
2
votes
0 answers

Node.js Lerna Travis CI CodeCov reports scanning error

We have a Node.js open-source repository and uses Travis for Unit tests, code-coverage (using CodeCov) etc. We just adopted a monorepo approach for our application with Lernajs and tried to modify the travis.yml file as: language: node_js node_js: …
Janshair Khan
  • 293
  • 1
  • 3
  • 11
2
votes
1 answer

There was an error processing coverage reports in codecov

I'm using kotlin, gradle, travis ci and codecov. The build seems to fail at codecov https://codecov.io/gh/config4k/config4k/commit/01ac813e057b3de25274b03c07ab39f348d5074d build.gradle : buildscript { ext.kotlin_version = '1.0.4' …
mmorihiro
  • 857
  • 2
  • 13
  • 17
2
votes
1 answer

How to implement code coverage into github android project (Travis CI, codecov)

I am now struggling with adding code coverage to my Android test project, can someone help? https://github.com/zisean/CarbonContact-SCC-Group1 CI: Travis
ZiSean
  • 127
  • 3
  • 9
1
vote
1 answer

How to create a status check on Github for lines not covered by test?

is there any way how to create a status check that will fail when some test is missing for added line? I am getting this warning by Codecov now, but I want to block merge every time when test is missing. I am also using CircleCi as an integration…
Pavel
  • 15
  • 3