Skip to content

Commit 978292b

Browse files
committed
use multiple cores for testing installation on windows and linux
1 parent b64b1e5 commit 978292b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/testthat/test-install.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
context("install")
22

3+
# avoid parallel on Mac due to strange intermittent TBB errors on Github Actions
4+
CORES <- if (os_is_macos()) 1 else 2
5+
36
cmdstan_test_tarball_url <- Sys.getenv("CMDSTAN_TEST_TARBALL_URL")
47
if (!nzchar(cmdstan_test_tarball_url)) {
58
cmdstan_test_tarball_url <- NULL

0 commit comments

Comments
 (0)