Skip to content

Commit 40db50a

Browse files
committed
build: link to HTML coverage reports
1 parent abd2eef commit 40db50a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/scripts/run_tests_coverage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ main() {
204204

205205
pkg_cov="| $pkg_statements_cov_fraction <br> $cov_change_statements | $pkg_branches_cov_fraction <br> $cov_change_branches | $pkg_functions_cov_fraction <br> $cov_change_functions | $pkg_lines_cov_fraction <br> $cov_change_lines |"
206206

207-
pkg_url="https://github.com/${github_repo}/tree/${github_ref}/${package}"
208-
pkg_link="<a href="$pkg_url">$pkg</a>"
207+
pkg_url="https://coverage.stdlib.io/${pkg}"
208+
pkg_link="<a href='"$pkg_url"'>$pkg</a>"
209209
coverage="$coverage\n| $pkg_link $pkg_cov"
210210

211211
# Copy coverage report of the package to artifacts directory:

0 commit comments

Comments
 (0)