We’ve been recently looking at our code coverage in more detail, and we’ve noticed there are several files in our subdirectories are missing.
For example files:
After looking through similar issues (Missing files in codecov (but not in report)), we’ve noticed that our coverage report doesn’t include the root “eatclub/” directory in its file paths, so we added:
fixes: - "::eatclub/"
However, this doesn’t seem to have fixed the problem – here’s a build on a commit which has updated
codecov.yaml but the files are still missing in the report: https://codecov.io/gh/eatclub/web/commit/1bac5cc7f399910064b93a5ece565e03f976563b/build.
We also tried to disable Codecov’s default path fixing, to no avail: https://codecov.io/gh/eatclub/web/commit/eb710f487248face7138c01854a3a6c955e17eb9/build
The repository is private.
We’re using Jenkins.
We’re using the bash uploader.
Updated codecov yaml: 38d425b237a58fb1ac3c5cce4ba3fbf6dfec32fa
Updated codecov yaml with no default path fixing: a0c67245b01e079038fdd8b277095eb2473fb058
codecov: branch: development disable_default_path_fixes: false coverage: status: project: off patch: default: target: 100 if_not_found: error fixes: - "::eatclub/"