0

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

1 Answers1

2

I saw in our jenkins log that codecov is taking the code from git/docker file and the path that was in use - was not the path as I saw it in our git repo. the path that I used (for instance) -

ignore:
  - "app/src/main/java/com/abc/Application.java"

While the path in practice was :

ignore:
  - "bundle/app/src/main/java/com/abc/Application.java"
Hezi Schrager
  • 391
  • 6
  • 18