File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -487,6 +487,12 @@ pipeline {
487487 steps {
488488 script {
489489 retry(3 ) { checkout scm }
490+
491+ if (params. withRowVector || isBranch(' develop' ) || isBranch(' master' )) {
492+ sh " echo CXXFLAGS+=-DSTAN_TEST_ROW_VECTORS >> make/local"
493+ sh " echo CXXFLAGS+=-DSTAN_PROB_TEST_ALL >> make/local"
494+ }
495+
490496 if (params. runAllDistributions || isBranch(' develop' ) || isBranch(' master' )) {
491497 changedDistributionTests = sh(script :" python3 test/prob/getDependencies.py --pretend-all" , returnStdout :true ). trim(). readLines()
492498 } else {
@@ -511,10 +517,10 @@ pipeline {
511517 steps {
512518 script {
513519 def tests = [:]
514- def tests_per_executor = 180
520+
521+ def executors = 10
522+ def tests_per_executor = Math . ceil(changedDistributionTests. size() / executors)
515523 def idx = 0
516- // roughly 10 executors when all tests run
517- def executors = (changedDistributionTests. size() + tests_per_executor - 1 ) / tests_per_executor
518524 for (f in changedDistributionTests. collate(tests_per_executor)) {
519525 idx = idx + 1
520526 def names = f. join(" " )
You can’t perform that action at this time.
0 commit comments