Codecov orb and circleci

Hi there,

I’m struggling to get the circleci codecov orb to work with my nodejs project.

My circleci config file is at is where I’m trying to upload the code coverage information. I’m not sure whether this should be targeting coverage-final.json though & can’t seem to find docs on it? has all the details on me somewhat flailing around trying to figure this out. At this point, I’m unsure of whether this failure is being caused by invalid paths or targeting the incorrect file in my configuration, so I’m somewhat at a loss here.

Hope someone can point me in the right direction.


Hi @seanoshea,

I apologize that this has been frustrating for you. This is due to rate limiting on the API token we use to pull the source files from GitHub.

We have requested an increase, sorry for the inconvenience. I’ll keep this thread open until it’s been resolved from GitHub.


Hi @seanoshea, we have narrowed down our issue a bit more, and we recommend using the Codecov app ( which should resolve your issue. Let me know if that works for you.

Hi there Tom,

Thanks for the pointer here - I tried adding this add to my github account and I believe it was set up correctly. I tried triggering a new build with, but I’m still not seeing coverage reports still? and are the additional links which might help pinpoint the root cause?

Any help is greatly appreciated,


Hi @seanoshea, looks like there might be an issue with how you are collecting coverage. This is the raw report, and I’m only seeing coverage for this file


I would check how you are collecting coverage, out of curiousity what are you using to do this?

Hey Tom - yes, that’s the only file I’m using in the unit tests. Perhaps I should exclude a few more files from the code coverage report, but I’m not seeing anything at at all?

Apologies @seanoshea would you be able to push a newer commit on top? We don’t keep logs for that long. I’m guessing you might need to do path fixing.

Sure thing.

Pushed up which resulted in and


Hi @seanoshea, I think this is a path fixing issue. However, the thing that worries me is that the coverage report is coming from a dist folder, and I’m assuming you want coverage on src. I just want to double-check that you are running coverage on src files and not post-compiled ones.

If you don’t think that’s an issue, you can try adding

  - "/home/circleci/project/dist/::src/lib/"

to your codecov.yml

I can’t guarantee that Codecov will be able to understand that the file fuzzymatchingjs.cjs.js is actually fuzzingmatching.js, however. And I believe it won’t be able to properly handle the wrong filename here. I’m actually fairly certain this will not work and you’ll need to run coverage against your src files.

Thank you for your patience as you guided me through this. You mentioning that I was targeting the dist folder instead of the src folder prompted me to make some changes. is the result. I think the code coverage reports are coming through fine now.

Thanks again,


1 Like

Amazing! Glad to see that it worked out for you.