[ci][os-autoinst] unable to read files in codecov reports, probably due to "opt" prefix
Changes in opt/consoles/localXvnc.pm Changes in opt/commands.pm Changes in opt/consoles/console.pm
but opening the folded bars does not reveal the source code context, probably due to the "opt/" prefix
Probably this is a regression introduced by the switch to CMake introducing the "opt/" prefix. https://docs.codecov.io/docs/fixing-paths has some suggestions but I would prefer if we strip the "opt/" in the CI build even in before.
This seems to have been caused by https://github.com/os-autoinst/os-autoinst/pull/1293
I don't understand why the directory was changed, but this should be fixable in
codecov.yml by adjusting the path:
fixes: - "/opt/run/::"
- Status changed from In Progress to Feedback
I don't understand why the directory was changed
not by intention for sure :)
but this should be fixable in
codecov.ymlby adjusting the path
mkittler reported that when generating a coverage report locally the paths are also not correct. So your change will certainly fix codecov but we should look into the other issue as well which might again impact how codecov can handle this.
https://github.com/os-autoinst/os-autoinst/pull/1530 was merged. https://codecov.io/gh/os-autoinst/os-autoinst/pull/1530/changes shows a lot of changes.
I realized that our project still links to outdated reports for coveralls -> #71323
- Status changed from Feedback to Resolved
And as https://codecov.io/gh/os-autoinst/os-autoinst/src/master/autotest.pm looks fine I consider the original issue as gone. For me locally generated coverage reports are ok as well so I do not know if there would be an additional issue. That should be solved as part of another ticket in that case.