I was trying to ignore the “test” folder from my C++ project.
Could not get it done, so I tried ignoring any file, but seems I cannot even do this .
Yaml is codecov.yml on root folder.
GitHub is telling us it’s not there when we try to pull it. When you say root, do you mean to absolute root of the repository on GitHub, or in a folder that serves as the project root?
Maybe then this should be somehow documented more clearly? Because on the image I posted I was using the local yaml, the bash script was stating “Yaml found at: codecov.yml” but I could not understand why the found and processed yml file was not working.
So the line codecov.yml in the project root. If placed elsewhere you need to pass -y <conf file> to the bash uploader
in About the Codecov YAML is not correct?
Hi @gmargari, this is correct. We are in the middle of updating our docs to show this, and you have correctly pointed out where this is inaccurate. codecov.yml must be in the project root for our server-side to pick up the configuration.
Ok, so then maybe the -y bash argument is misleading/could be removed, since there a few preconfigured places that the codecov.yml must be and user cannot set an arbitrary path.
Thanks a bunch, finally got it work.
Came here to ask the same question as @rivy. I can’t get the ignore paths to work with the .codecov.yml file. Why is this config file name not supported, when the docs say this:
Can I name the file .codecov.yml?
Yes. However, the file must still be located in the repository root, dev/ , or .github/ directories