Not sure if you solved your issue or not but I recently decided to do the same thing as I had codecov setup but didn’t want to have to push to github and wait for tests to run to see my code coverage, and I managed to get this working using Coverage.jl to produce a lcov.info file and use Coverage Gutters extension with it. I noticed that for Coverage Gutters the default file it looks for is “lcov.info”, so change the .info file name (call LCOV.write(“lcov.info”, coverage)) if you haven’t already.
I have put this utility module in my .julia/config/startup.jl:
"""
Util
`Util.test(;coverage=true)` to produce code coverage of active project. See ~/.julia/startup.jl
`Util.cleanup()` to remove .cov files.
"""
module Util
using Coverage
using Pkg
function test(;coverage=true, test_args=String[])
Pkg.test(;coverage, julia_args=["--inline=no"], test_args)
if coverage
LCOV.writefile("lcov.info", process_folder())
end
end
function cleanup()
Coverage.clean_folder(".")
end
end # Util