|
33 | 33 | - { os: ubuntu-24.04-arm, label: rev, tests: 'test/unit/math/rev' } |
34 | 34 | - { os: windows-latest, label: fwd, tests: 'test/unit/math/fwd' } |
35 | 35 | - { os: ubuntu-24.04-arm, label: fwd, tests: 'test/unit/math/fwd' } |
36 | | - - { os: windows-latest, label: 'non-fun mix', tests: 'test/unit/math/mix/core test/unit/math/mix/meta test/unit/math/mix/prob test/unit/math/mix/*_test.cpp' } |
37 | | - - { os: ubuntu-24.04-arm, label: 'non-fun mix', tests: 'test/unit/math/mix/core test/unit/math/mix/meta test/unit/math/mix/prob test/unit/math/mix/*_test.cpp' } |
| 36 | + - { os: windows-latest, label: 'non-fun mix', tests: 'test/unit/math/mix/core test/unit/math/mix/meta test/unit/math/mix/*_test.cpp' } |
| 37 | + - { os: ubuntu-24.04-arm, label: 'non-fun mix', tests: 'test/unit/math/mix/core test/unit/math/mix/meta test/unit/math/mix/*_test.cpp' } |
38 | 38 |
|
39 | 39 | steps: |
40 | 40 | - uses: actions/checkout@v4 |
|
76 | 76 | path: '**/*_test.xml' |
77 | 77 |
|
78 | 78 | mix-fun: |
79 | | - name: mix/fun tests ${{ matrix.config.group }} (${{ matrix.config.os }}) |
| 79 | + name: mix fun and prob tests ${{ matrix.config.group }} (${{ matrix.config.os }}) |
80 | 80 | runs-on: ${{ matrix.config.os }} |
81 | 81 | strategy: |
82 | 82 | matrix: |
@@ -120,17 +120,17 @@ jobs: |
120 | 120 | - name: Run mix/fun unit tests |
121 | 121 | shell: pwsh |
122 | 122 | run: | |
123 | | - $MixFunTests = Get-ChildItem -Path test\unit\math\mix\fun\* -Include *.cpp | Resolve-Path -Relative |
124 | | - $NumberTests = $MixFunTests.Length |
| 123 | + $MixFunProbTests = Get-ChildItem -Path test\unit\math\mix\fun\*, test\unit\math\mix\prob\* -Include *.cpp | Resolve-Path -Relative |
| 124 | + $NumberTests = $MixFunProbTests.Length |
125 | 125 | $QuarterNumberTests = [math]::Floor($NumberTests / 4) |
126 | 126 |
|
127 | | - $MixFunTests1 = $MixFunTests[0..($QuarterNumberTests - 1)] |
128 | | - $MixFunTests2 = $MixFunTests[$QuarterNumberTests..(2 * $QuarterNumberTests - 1)] |
129 | | - $MixFunTests3 = $MixFunTests[(2 * $QuarterNumberTests)..(3 * $QuarterNumberTests - 1)] |
130 | | - $MixFunTests4 = $MixFunTests[(3 * $QuarterNumberTests)..($NumberTests - 1)] |
131 | | - $MixFunTestsArray = @($MixFunTests1, $MixFunTests2, $MixFunTests3, $MixFunTests3) |
| 127 | + $MixFunProbTests1 = $MixFunProbTests[0..($QuarterNumberTests - 1)] |
| 128 | + $MixFunProbTests2 = $MixFunProbTests[$QuarterNumberTests..(2 * $QuarterNumberTests - 1)] |
| 129 | + $MixFunProbTests3 = $MixFunProbTests[(2 * $QuarterNumberTests)..(3 * $QuarterNumberTests - 1)] |
| 130 | + $MixFunProbTests4 = $MixFunProbTests[(3 * $QuarterNumberTests)..($NumberTests - 1)] |
| 131 | + $MixFunProbTestsArray = @($MixFunProbTests1, $MixFunProbTests2, $MixFunProbTests3, $MixFunProbTests4) |
132 | 132 |
|
133 | | - python runTests.py $MixFunTestsArray[(${{ matrix.config.group }} - 1)] |
| 133 | + python runTests.py -j2 $MixFunProbTestsArray[(${{ matrix.config.group }} - 1)] |
134 | 134 |
|
135 | 135 | - name: Upload gtest_output xml |
136 | 136 | uses: actions/upload-artifact@v4 |
|
0 commit comments