@@ -476,7 +476,9 @@ jobs:
476476 coveralls-token : ${{ github.server_url == 'https://github.com' && secrets.COVERALLS_REPO_TOKEN || '' }}
477477 - name : Generate Doctest Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
478478 id : doctests-main
479- run : make -f Makefile test-mat-doctests ;
479+ shell : bash
480+ run : |
481+ make -f Makefile test-mat-doctests || exit 1
480482 - name : Upload Python ${{ matrix.python-version }} doctest coverage to Codecov
481483 id : doctests-codecov-upload
482484 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
@@ -803,6 +805,31 @@ jobs:
803805 id : post-style-test
804806 run : make -j1 -f Makefile clean || true ;
805807 if : ${{ success() }}
808+ - name : " Evaluate Style-Tests"
809+ id : styletests_outcome
810+ if : ${{ !cancelled() }}
811+ shell : bash
812+ run : |
813+ if [[ "${{ steps.style.outcome }}" == "success" ]] ; then
814+ THE_RESULT="success"
815+ else
816+ THE_RESULT="failure"
817+ fi
818+ if [[ "${THE_RESULT}" == "success" ]] ; then
819+ exit 0
820+ else
821+ exit 1
822+ fi
823+ - name : " Summarize Syle-Tests"
824+ id : style_report
825+ if : ${{ always() }}
826+ shell : bash
827+ run : |
828+ if [[ "${{ steps.styletests_outcome.outcome }}" == "success" ]] ; then
829+ printf "%s\n" " ${PASS_ICON} Style Checks succeeded with python version \`${PYTHON_DEFAULT}\` for \`${VCS_COMMIT_ID}\`" >> "$GITHUB_STEP_SUMMARY"
830+ else
831+ printf "%s\n" " ${FAIL_ICON} ~Style Checks succeeded with python version \`${PYTHON_DEFAULT}\`~" >> "$GITHUB_STEP_SUMMARY"
832+ fi
806833
807834
808835 INTEGRATION :
@@ -892,7 +919,9 @@ jobs:
892919 shell : bash
893920 - name : Generate Doctest Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
894921 id : integration-doctests
895- run : make -f Makefile test-mat-doctests ;
922+ shell : bash
923+ run : |
924+ make -f Makefile test-mat-doctests ;
896925 - name : Generate Functional Test Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
897926 id : integration-main
898927 run : |
0 commit comments