Skip to content

Commit

Permalink
display path to generated coverage HTML
Browse files Browse the repository at this point in the history
Show the path to the generated HTML coverage with an `@info`, similar to how the path of a generated cobertura XML coverage report is displayed[^1].

[^1]: https://github.com/JuliaCI/LocalCoverage.jl/blob/0407e1a58286402a7d994bfc6ada40bd65351669/src/LocalCoverage.jl#L391
  • Loading branch information
thazhemadam authored Nov 11, 2024
1 parent 0407e1a commit f92b846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LocalCoverage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function html_coverage(coverage::PackageCoverage; gitroot = ".", open = false, d
sprint(Base.showerror, e),
)
end
@info("generated coverage HTML")
@info("generated coverage HTML $(joinpath(dir, "index.html")).")
open && DefaultApplication.open(joinpath(dir, "index.html"))
end
nothing
Expand Down

0 comments on commit f92b846

Please sign in to comment.