Skip to content

Commit fa75098

Browse files
committed
No GHA summary in test_file()
To avoid the tables from running test_file() in examples. Not the best solution.
1 parent 574e249 commit fa75098

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/test-files.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ test_file <- function(path, reporter = default_compact_reporter(), package = NUL
137137
stop("`path` does not exist", call. = FALSE)
138138
}
139139

140+
withr::local_envvar(TESTTHAT_GHA_SUMMARY = "false")
141+
140142
test_files(
141143
test_dir = dirname(path),
142144
test_package = package,

0 commit comments

Comments
 (0)