Codecov report not ignoring files from yaml

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.


Hi, i have an issue to ignore some files from codecov report. Instead of ignoring file is uploaded into codecov report, it is ignored in codecov.yaml file: See additional information for file and codecov.yml file from repo.


Here is the URL file of a building pipeline

Codecov Output

This is an output of codecov upload

#!/bin/bash -eo pipefail
# See
source $BASH_ENV
chmod +x $filename
[ -n "" ] && \
  set - "${@}" "-f" ""
[ -n "" ] && \
  set - "${@}" ""
./$filename \
  -Q "codecov-circleci-orb-3.2.3" \
  -t "${CODECOV_TOKEN}" \
  -n "${CIRCLE_BUILD_NUM}" \
  -F "" \

[2022-06-16T15:48:49.706Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.2.4
[2022-06-16T15:48:49.712Z] ['info'] => Project root located at: /home/circleci/project
[2022-06-16T15:48:49.714Z] ['info'] ->  Token found by arguments
[2022-06-16T15:48:49.722Z] ['info'] Searching for coverage files...
[2022-06-16T15:48:49.797Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-06-16T15:48:49.797Z] ['info'] If Codecov did not locate your files, please review
[2022-06-16T15:48:49.797Z] ['info'] => Found 8 possible coverage files:
[2022-06-16T15:48:49.797Z] ['info'] Processing /home/circleci/project/coverage-0.json...
[2022-06-16T15:48:49.800Z] ['info'] Processing /home/circleci/project/coverage-1.json...
[2022-06-16T15:48:49.802Z] ['info'] Processing /home/circleci/project/coverage-2.json...
[2022-06-16T15:48:49.803Z] ['info'] Processing /home/circleci/project/coverage-3.json...
[2022-06-16T15:48:49.805Z] ['info'] Processing /home/circleci/project/coverage-4.json...
[2022-06-16T15:48:49.807Z] ['info'] Processing /home/circleci/project/coverage-5.json...
[2022-06-16T15:48:49.808Z] ['info'] Processing /home/circleci/project/coverage-6.json...
[2022-06-16T15:48:49.810Z] ['info'] Processing /home/circleci/project/coverage-7.json...
[2022-06-16T15:48:49.897Z] ['info'] Detected CircleCI as the CI provider.
[2022-06-16T15:48:49.898Z] ['info'] Pinging Codecov:*******&branch=curve-onramp&build=2113&
[2022-06-16T15:48:50.247Z] ['info']
[2022-06-16T15:48:50.247Z] ['info'] Uploading...
[2022-06-16T15:48:50.454Z] ['info'] {"status":"success","resultURL":""}
CircleCI received exit code 0

Expected Results

Ignore file from coverage

Actual Results

File is not ignored it is shown in report
file name: SafeBoxBuyback.sol

Additional Information

Coverage yml file
Path to a file which i wanted to be ignored github


I am having a similar issue where my *.cshtml files are not ignored.

Any update on this?


Hi all, thanks for this. I think I found the bug, I’ll try to get this deployed early next week.

1 Like

Hey @tom just ping us when fix is deployed! Thanks a lot :pray:

Hey @tom Is this still an ongoing issue? It passed like a month.

Sorry, this ended being a lot more complicated than it should have been as it touches a pretty deep part of our codebase. I’ve escalated the issue to our eng team.

1 Like

@tom No worries, mate. Keep me posted when it is fixed, cheers I’m so sorry. I realize this has been in my backlog for months. This is still an ongoing issue. Unfortunately, it’s become really hairy in the way that effects a lot of how we do regex here. Thanks so much for being patient, I know it’s pretty annoying.

1 Like we pushed a fix for this if you want to see if this is working for you on a new commit