Because the the classes are built into the DnsServerDsc.psm1 there is no comparable file for Codecov.io to report on. With the current implementation it finds source/DnsServerDsc.psm1 which is empty so it cannot record the hits/misses on that file.
The same problem ecist for Azure DevOps coverage.
We need to work out the line in ./output/.../DnsServerDsc.psm1 to the correct line in the actual class file and modify the coverage file before uploading it. ModuleBuilder has functionality for this, see:
Because the the classes are built into the DnsServerDsc.psm1 there is no comparable file for Codecov.io to report on. With the current implementation it finds source/DnsServerDsc.psm1 which is empty so it cannot record the hits/misses on that file.
The same problem ecist for Azure DevOps coverage.
We need to work out the line in
./output/.../DnsServerDsc.psm1
to the correct line in the actual class file and modify the coverage file before uploading it. ModuleBuilder has functionality for this, see:https://github.com/dsccommunity/DscResource.DocGenerator/pull/12#issuecomment-583864591