Skip to content

Commit 96cce2c

Browse files
committed
attempt to fix windows CI failure
1 parent e8ad5f5 commit 96cce2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testthat/test-opencl.R

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ context("opencl")
33
set_cmdstan_path()
44
fit <- testing_fit("bernoulli", method = "sample", seed = 123, chains = 1)
55

6+
runner_temp <- Sys.getenv('RUNNER_TEMP')
7+
if(runner_temp != "") Sys.setenv(TMPDIR=runner_temp)
8+
69
test_that("all methods error when opencl_ids is used with non OpenCL model", {
710
stan_file <- testing_stan_file("bernoulli")
811
exe_file <- tempfile(pattern = "bernoulli-")

0 commit comments

Comments
 (0)