Skip to content

Commit 90969fc

Browse files
committed
use the CXX flag for not running fwd/mix tests
1 parent 308a184 commit 90969fc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ jobs:
9393
- name: Add TBB to PATH
9494
shell: powershell
9595
run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
96+
- name: Disable running fwd/mix tests
97+
shell: powershell
98+
run: echo "CXXFLAGS+= -DSTAN_MATH_TESTS_REV_ONLY" | Out-File -Append -FilePath make/local -Encoding utf8
9699
- name: Run fwd unit tests and all the mix tests except those in mix/fun
97100
shell: powershell
98101
run: |
@@ -139,6 +142,9 @@ jobs:
139142
- name: Add TBB to PATH
140143
shell: powershell
141144
run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
145+
- name: Disable running fwd/mix tests
146+
shell: powershell
147+
run: echo "CXXFLAGS+= -DSTAN_MATH_TESTS_REV_ONLY" | Out-File -Append -FilePath make/local -Encoding utf8
142148
- name: Run mix/fun unit tests
143149
shell: powershell
144150
run: |

0 commit comments

Comments
 (0)