@@ -245,12 +245,12 @@ jobs:
245245 if : ${{ runner.os }} == "Linux"
246246 shell : bash
247247 run : |
248- if [ "$OS" == "ubuntu-latest" ] ; then ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ; fi ;
248+ ./cc-test-reporter after-build --exit-code 0 || true ;
249249 - name : deepsource for ${{ matrix.python-version }}
250250 if : ${{ runner.os }} == "Linux"
251251 shell : bash
252252 run : |
253- if [ "$OS" == "ubuntu-latest" ] ; then ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource" ; fi ;
253+ ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ;
254254 - name : Post-Clean
255255 id : post
256256 run : make -j1 -f Makefile clean || true ;
@@ -329,12 +329,12 @@ jobs:
329329 if : ${{ runner.os }} == "Linux"
330330 shell : bash
331331 run : |
332- ./cc-test-reporter after-build --exit-code 0 || true ; else echo "SKIP code climate" ;
332+ ./cc-test-reporter after-build --exit-code 0 || true ;
333333 - name : deepsource for ${{ matrix.python-version }} on ${{ matrix.os }}
334334 if : ${{ runner.os }} == "Linux"
335335 shell : bash
336336 run : |
337- ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ; else echo "SKIP deepsource"
337+ ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml 2>/dev/null || true ;
338338 - name : Post-Clean
339339 id : post
340340 run : make -j1 -f Makefile clean || true ;
@@ -411,13 +411,19 @@ jobs:
411411 pip install --upgrade -r ./requirements.txt ;
412412 pip install --upgrade -r ./tests/requirements.txt || true ;
413413 pip install --upgrade -r ./docs/requirements.txt || true ;
414- - name : Install code-climate tools for ${{ matrix.python-version }}
414+ - name : Install Darwin code-climate tools for ${{ matrix.python-version }}
415415 if : ${{ 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
421+ - name : Install Linux code-climate tools for ${{ matrix.python-version }}
422+ if : ${{ runner.os }} == "Linux"
423+ run : |
424+ 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 ;
425+ chmod +x ./cc-test-reporter 2>/dev/null || true ;
426+ ./cc-test-reporter before-build || true ;
421427 - name : Pre-Clean
422428 id : clean-prep
423429 run : make -j1 -f Makefile clean ;
@@ -457,6 +463,11 @@ jobs:
457463 if : ${{ runner.os }} != "Linux"
458464 run : |
459465 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 ;
466+ if : ${{ !cancelled() }}
467+ - name : code-climate for ${{ matrix.python-version }}
468+ if : ${{ runner.os }} == "Linux"
469+ run : |
470+ ./cc-test-reporter after-build --exit-code 0 || true ;
460471 - name : Upload Python ${{ matrix.python-version }} integration test results to Codecov
461472 if : ${{ !cancelled() }}
462473 uses : codecov/test-results-action@v1
0 commit comments