@@ -205,25 +205,25 @@ jobs:
205205 pip install -r ./tests/requirements.txt || true ;
206206 pip install --upgrade -r ./docs/requirements.txt || true ;
207207 - name : Install code-climate tools for ${{ matrix.python-version }} on ${{ matrix.os }}
208- if : ${{ runner.os }} == " Linux"
208+ if : ${{ !cancelled() && runner.os == ' Linux' }}
209209 shell : bash
210210 run : |
211211 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter || true ;
212212 chmod +x ./cc-test-reporter 2>/dev/null || true ;
213213 ./cc-test-reporter before-build || true ;
214214 - name : Install deepsource tools for ${{ matrix.python-version }} on ${{ matrix.os }}
215- if : ${{ runner.os }} == " Linux"
215+ if : ${{ !cancelled() && runner.os == ' Linux' }}
216216 shell : bash
217217 run : |
218218 (curl https://deepsource.io/cli | sh) || true ;
219219 - name : Pre-Clean
220220 id : clean
221221 run : make -j1 -f Makefile clean || true ;
222222 - name : Generate Coverage for py3.9 on ${{ matrix.os }}
223- if : ${{ runner.python-version }} == " 3.9"
223+ if : ${{ runner.python-version == ' 3.9' }}
224224 run : make -f Makefile test ;
225225 - name : Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
226- if : ${{ runner.python-version }} != " 3.9"
226+ if : ${{ runner.python-version != ' 3.9' }}
227227 run : make -f Makefile test-pytest ;
228228 - name : Upload Python ${{ matrix.python-version }} coverage to Codecov
229229 uses : codecov/codecov-action@v4
@@ -242,12 +242,12 @@ jobs:
242242 path : ./test-reports/
243243 if-no-files-found : ignore
244244 - name : code-climate for ${{ matrix.python-version }}
245- if : ${{ runner.os }} == " Linux"
245+ if : ${{ !cancelled() && runner.os == ' Linux' }}
246246 shell : bash
247247 run : |
248248 ./cc-test-reporter after-build --exit-code 0 || true ;
249249 - name : deepsource for ${{ matrix.python-version }}
250- if : ${{ runner.os }} == " Linux"
250+ if : ${{ !cancelled() && runner.os == ' Linux' }}
251251 shell : bash
252252 run : |
253253 ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ;
@@ -289,25 +289,25 @@ jobs:
289289 pip install --upgrade -r ./tests/requirements.txt || true ;
290290 pip install --upgrade -r ./docs/requirements.txt || true ;
291291 - name : Install code-climate tools for ${{ matrix.python-version }} on ${{ matrix.os }}
292- if : ${{ runner.os }} == " Linux"
292+ if : ${{ !cancelled() && runner.os == ' Linux' }}
293293 shell : bash
294294 run : |
295295 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter || true ;
296296 chmod +x ./cc-test-reporter 2>/dev/null || true ;
297297 ./cc-test-reporter before-build || true ;
298298 - name : Install deepsource tools for ${{ matrix.python-version }} on ${{ matrix.os }}
299- if : ${{ runner.os }} == " Linux"
299+ if : ${{ !cancelled() && runner.os == ' Linux' }}
300300 shell : bash
301301 run : |
302302 (curl https://deepsource.io/cli | sh) || true ;
303303 - name : Pre-Clean
304304 id : clean
305305 run : make -j1 -f Makefile clean || true ;
306306 - name : Generate Coverage for py3.9 on ${{ matrix.os }}
307- if : ${{ runner.python-version }} == " 3.9"
307+ if : ${{ runner.python-version == ' 3.9' }}
308308 run : make -f Makefile test >> $GITHUB_STEP_SUMMARY ;
309309 - name : Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
310- if : ${{ runner.python-version }} != " 3.9"
310+ if : ${{ runner.python-version != ' 3.9' }}
311311 run : make -f Makefile test-pytest >> $GITHUB_STEP_SUMMARY ;
312312 - name : Upload Python ${{ matrix.python-version }} coverage to Codecov
313313 uses : codecov/codecov-action@v4
@@ -326,12 +326,12 @@ jobs:
326326 path : ./test-reports/
327327 if-no-files-found : ignore
328328 - name : code-climate for ${{ matrix.python-version }} on ${{ matrix.os }}
329- if : ${{ runner.os }} == " Linux"
329+ if : ${{ !cancelled() && runner.os == ' Linux' }}
330330 shell : bash
331331 run : |
332332 ./cc-test-reporter after-build --exit-code 0 || true ;
333333 - name : deepsource for ${{ matrix.python-version }} on ${{ matrix.os }}
334- if : ${{ runner.os }} == " Linux"
334+ if : ${{ !cancelled() && runner.os == ' Linux' }}
335335 shell : bash
336336 run : |
337337 ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ;
@@ -412,14 +412,14 @@ jobs:
412412 pip install --upgrade -r ./tests/requirements.txt || true ;
413413 pip install --upgrade -r ./docs/requirements.txt || true ;
414414 - name : Install Darwin code-climate tools for ${{ matrix.python-version }}
415- if : ${{ runner.os }} != " Linux"
415+ if : ${{ !cancelled() && runner.os != ' Linux' }}
416416 run : |
417417 if [ "$OS" == "macos-latest" ] ; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter || true ; fi ;
418418 if [ "$OS" == "macos-latest" ] ; then chmod +x ./cc-test-reporter 2>/dev/null || true ; fi
419419 if [ "$OS" == "macos-latest" ] ; then ./cc-test-reporter before-build || true ; fi
420420 shell : bash
421421 - name : Install Linux code-climate tools for ${{ matrix.python-version }}
422- if : ${{ runner.os }} == " Linux"
422+ if : ${{ !cancelled() && runner.os == ' Linux' }}
423423 run : |
424424 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter || curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-arm64 > ./cc-test-reporter || true ;
425425 chmod +x ./cc-test-reporter 2>/dev/null || true ;
@@ -460,11 +460,11 @@ jobs:
460460 path : ./test-reports/
461461 if-no-files-found : ignore
462462 - name : code-climate for ${{ matrix.python-version }}
463- if : ${{ runner.os }} != " Linux"
463+ if : ${{ !cancelled() && runner.os != ' Linux' }}
464464 run : |
465465 if [ "$OS" == "macos-latest" ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "::warning file=.github/workflows/Tests.yml,line=459,endLine=459,title=SKIPPED::SKIP Code-Climate" ; fi ;
466466 - name : code-climate for ${{ matrix.python-version }}
467- if : ${{ runner.os }} == " Linux"
467+ if : ${{ !cancelled() && runner.os == ' Linux' }}
468468 run : |
469469 ./cc-test-reporter after-build --exit-code 0 || true ;
470470 - name : Upload Python ${{ matrix.python-version }} integration test results to Codecov
0 commit comments