Skip to content

Commit

Permalink
attempt to fix windows CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinabrock committed Aug 20, 2024
1 parent e8ad5f5 commit 96cce2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-opencl.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ context("opencl")
set_cmdstan_path()
fit <- testing_fit("bernoulli", method = "sample", seed = 123, chains = 1)

runner_temp <- Sys.getenv('RUNNER_TEMP')
if(runner_temp != "") Sys.setenv(TMPDIR=runner_temp)

test_that("all methods error when opencl_ids is used with non OpenCL model", {
stan_file <- testing_stan_file("bernoulli")
exe_file <- tempfile(pattern = "bernoulli-")
Expand Down

0 comments on commit 96cce2c

Please sign in to comment.