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?
Asked
Active
Viewed 2,307 times
1 Answers
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
-
Where exactly do you put this? – Tim Rutter May 20 '22 at 10:02
-
1@TimRutter `codecov.yml` in the root of your project – Maria Ines Parnisari Mar 30 '23 at 21:19