Skip to content

Commit f1f615f

Browse files
committed
CI-windows.yml: run Python tests with debug build
1 parent 91742ee commit f1f615f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/CI-windows.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ jobs:
9292
persist-credentials: false
9393

9494
- name: Set up Python 3.13
95-
if: matrix.config == 'release'
9695
uses: actions/setup-python@v5
9796
with:
9897
python-version: '3.13'
@@ -131,7 +130,6 @@ jobs:
131130
CL: /MP
132131

133132
- name: Install missing Python packages
134-
if: matrix.config == 'release'
135133
run: |
136134
python -m pip install pip --upgrade || exit /b !errorlevel!
137135
python -m pip install pytest || exit /b !errorlevel!
@@ -166,35 +164,31 @@ jobs:
166164
run: .\bin\testrunner.exe || exit /b !errorlevel!
167165

168166
- name: Prepare test/cli
169-
if: matrix.config == 'release'
170167
run: |
171168
:: since FILESDIR is not set copy the binary to the root so the addons are found
172169
:: copy .\build\bin\Release\cppcheck.exe .\cppcheck.exe || exit /b !errorlevel!
173170
copy .\bin\cppcheck.exe .\cppcheck.exe || exit /b !errorlevel!
174171
copy .\bin\cppcheck-core.dll .\cppcheck-core.dll || exit /b !errorlevel!
175172
176173
- name: Run test/cli
177-
if: matrix.config == 'release'
178174
run: |
179175
python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel!
180176
181177
- name: Run test/cli (-j2)
182-
if: matrix.config == 'release'
183178
run: |
184179
python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel!
185180
env:
186181
TEST_CPPCHECK_INJECT_J: 2
187182

188183
# TODO: install clang
189184
- name: Run test/cli (--clang)
190-
if: false # matrix.config == 'release'
185+
if: false
191186
run: |
192187
python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel!
193188
env:
194189
TEST_CPPCHECK_INJECT_CLANG: clang
195190

196191
- name: Test addons
197-
if: matrix.config == 'release'
198192
run: |
199193
echo on
200194
.\cppcheck --addon=threadsafety addons\test\threadsafety || exit /b !errorlevel!

0 commit comments

Comments
 (0)