Skip to content

Commit

Permalink
debug win GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
xec-cm committed Dec 21, 2023
1 parent 558e186 commit fa1bd44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/longtests_rcolet.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ roclet_output.roclet_longtests <- function(x, results, base_path, ...) {
# Has side-effects: writes files to disk
paths_longtests <- internal_longtests_roclet_output(
results = results$longtests,
base_path = normalizePath(file.path(base_path, "longtests", "testthat")),
base_path = normalizePath(
file.path(base_path, "longtests", "testthat"),
mustWork = FALSE
),
prefix = "test-biocroxytest-longtests-"
)

Expand Down
5 changes: 4 additions & 1 deletion R/utils_longtests_rcolet.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ internal_longtests_roclet_output <- function(results,

paths <- names(results)
for (i in seq_along(results)) {
path <- file.path(base_path, paste0(prefix, paths[i]))
path <- normalizePath(
file.path(base_path, paste0(prefix, paths[i])),
mustWork = FALSE
)

if (!made_by_biocroxytest(path)) {
cli::cli_inform(c(
Expand Down

0 comments on commit fa1bd44

Please sign in to comment.