A looong time ago, I opened this issue about wrong coverage report by Julia:
about wrong coverage report by Julia. By that time, passing --inline=no to Julia would fix some problems. However, we needed a patch to Pkg.jl to make it available during the tests. This was done here:
With Julia 1.6.0, I still see weird things even with --inline=no. Check for example this report: