From f92b84616906557851e74245b913f9f8d5eea3e8 Mon Sep 17 00:00:00 2001 From: Anant Thazhemadam <47104651+thazhemadam@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:16:10 +0530 Subject: [PATCH] display path to generated coverage HTML 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 --- src/LocalCoverage.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LocalCoverage.jl b/src/LocalCoverage.jl index f41f5d2..9109c04 100644 --- a/src/LocalCoverage.jl +++ b/src/LocalCoverage.jl @@ -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