|
92 | 92 | persist-credentials: false |
93 | 93 |
|
94 | 94 | - name: Set up Python 3.13 |
95 | | - if: matrix.config == 'release' |
96 | 95 | uses: actions/setup-python@v5 |
97 | 96 | with: |
98 | 97 | python-version: '3.13' |
@@ -131,7 +130,6 @@ jobs: |
131 | 130 | CL: /MP |
132 | 131 |
|
133 | 132 | - name: Install missing Python packages |
134 | | - if: matrix.config == 'release' |
135 | 133 | run: | |
136 | 134 | python -m pip install pip --upgrade || exit /b !errorlevel! |
137 | 135 | python -m pip install pytest || exit /b !errorlevel! |
@@ -166,35 +164,31 @@ jobs: |
166 | 164 | run: .\bin\testrunner.exe || exit /b !errorlevel! |
167 | 165 |
|
168 | 166 | - name: Prepare test/cli |
169 | | - if: matrix.config == 'release' |
170 | 167 | run: | |
171 | 168 | :: since FILESDIR is not set copy the binary to the root so the addons are found |
172 | 169 | :: copy .\build\bin\Release\cppcheck.exe .\cppcheck.exe || exit /b !errorlevel! |
173 | 170 | copy .\bin\cppcheck.exe .\cppcheck.exe || exit /b !errorlevel! |
174 | 171 | copy .\bin\cppcheck-core.dll .\cppcheck-core.dll || exit /b !errorlevel! |
175 | 172 |
|
176 | 173 | - name: Run test/cli |
177 | | - if: matrix.config == 'release' |
178 | 174 | run: | |
179 | 175 | python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel! |
180 | 176 |
|
181 | 177 | - name: Run test/cli (-j2) |
182 | | - if: matrix.config == 'release' |
183 | 178 | run: | |
184 | 179 | python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel! |
185 | 180 | env: |
186 | 181 | TEST_CPPCHECK_INJECT_J: 2 |
187 | 182 |
|
188 | 183 | # TODO: install clang |
189 | 184 | - name: Run test/cli (--clang) |
190 | | - if: false # matrix.config == 'release' |
| 185 | + if: false |
191 | 186 | run: | |
192 | 187 | python -m pytest -Werror --strict-markers -vv test/cli || exit /b !errorlevel! |
193 | 188 | env: |
194 | 189 | TEST_CPPCHECK_INJECT_CLANG: clang |
195 | 190 |
|
196 | 191 | - name: Test addons |
197 | | - if: matrix.config == 'release' |
198 | 192 | run: | |
199 | 193 | echo on |
200 | 194 | .\cppcheck --addon=threadsafety addons\test\threadsafety || exit /b !errorlevel! |
|
0 commit comments