Skip to content

Commit 045e26a

Browse files
committed
Put whole GHA summary into a <details>
1 parent fa75098 commit 045e26a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/gha-summary.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ create_gha_summary <- function(results) {
1111
p <- function(...) cat(..., file = out, append = TRUE)
1212

1313
# header
14+
p("<details>\n")
1415
p("# Test results\n\n")
1516
p("| FAIL | WARN | SKIP | PASS | Context | Test | Time |\n")
1617
p("|-----:|-----:|-----:|-----:|:--------|:-----|:-----|\n")
@@ -31,6 +32,8 @@ create_gha_summary <- function(results) {
3132
"|\n"
3233
))
3334

35+
p("</details>\n")
36+
3437
invisible(results)
3538
}
3639

0 commit comments

Comments
 (0)