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.

Description

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.

CI/CD URL

Here is the URL file of a building pipeline

Codecov Output

This is an output of codecov upload

#!/bin/bash -eo pipefail
unset NODE_OPTIONS
# See https://github.com/codecov/uploader/issues/475
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 https://docs.codecov.com/docs/supported-report-formats
[2022-06-16T15:48:49.797Z] ['info'] => Found 8 possible coverage files:
  coverage-0.json
  coverage-1.json
  coverage-2.json
  coverage-3.json
  coverage-4.json
  coverage-5.json
  coverage-6.json
  coverage-7.json
[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: https://codecov.io/upload/v4?package=codecov-circleci-orb-3.2.3-uploader-0.2.4&token=*******&branch=curve-onramp&build=2113&build_url=https%3A%2F%2Fcircleci.com%2Fgh%2Fthales-markets%2Fcontracts%2F2113&commit=f62d38bc3f5566b898bc625d10d7a09a13ab53d8&job=0&pr=&service=circleci&slug=thales-markets%2Fcontracts&name=2113&tag=&flags=&parent=
[2022-06-16T15:48:50.247Z] ['info'] https://codecov.io/github/thales-markets/contracts/commit/f62d38bc3f5566b898bc625d10d7a09a13ab53d8
https://storage.googleapis.com/codecov/v4/raw/2022-06-16/3453D974DB11599C9DA7413E9ADE2197/f62d38bc3f5566b898bc625d10d7a09a13ab53d8/b69d049e-dd1c-4b15-b2ca-a438b226c17a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220616T154850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb721309dbd961f2cb64397eb96c97a97c8766dc3864d4f0f93a99e2ea50d5df
[2022-06-16T15:48:50.247Z] ['info'] Uploading...
[2022-06-16T15:48:50.454Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/thales-markets/contracts/commit/f62d38bc3f5566b898bc625d10d7a09a13ab53d8"}
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

Hi,

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

Any update on this?

Regards,
Tarcontar

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 @gruja.work, 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

@gruja.work 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

@gruja.work we pushed a fix for this if you want to see if this is working for you on a new commit