diff --git a/.testing/Makefile b/.testing/Makefile index 917feb311b..257992e14d 100644 --- a/.testing/Makefile +++ b/.testing/Makefile @@ -602,6 +602,9 @@ report.cov: run.cov codecov 2> build/cov/codecov.err \ && echo -e "${MAGENTA}Report uploaded to codecov.${RESET}" \ || { \ + if [ "$(REPORT_ERROR_LOGS)" = true ]; then \ + cat build/cov/codecov.err ; \ + fi ; \ echo -e "${RED}Failed to upload report.${RESET}" ; \ if [ "$(REQUIRE_COVERAGE_UPLOAD)" = true ] ; then false ; fi ; \ } @@ -740,6 +743,9 @@ report.cov.unit: build/unit/MOM_file_parser_tests.F90.gcov codecov 2> build/unit/codecov.err \ && echo -e "${MAGENTA}Report uploaded to codecov.${RESET}" \ || { \ + if [ "$(REPORT_ERROR_LOGS)" = true ]; then \ + cat build/unit/codecov.err ; \ + fi ; \ echo -e "${RED}Failed to upload report.${RESET}" ; \ if [ "$(REQUIRE_COVERAGE_UPLOAD)" = true ] ; then false ; fi ; \ }