diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml index 7f27199756df849d6cbb29d2219655aaf1fdc2cb..690e85d1222a164c41ae1be8efe50420d281cde2 100644 --- a/templates/gitlab-ci-golang.yml +++ b/templates/gitlab-ci-golang.yml @@ -404,7 +404,7 @@ stages: set -e # dump text report in the console - cat "$go_text_report" + cat "$go_text_report" || (echo "Display of go test report file failed; Display of last 100 lines." && tail -n100 "$go_text_report") # compute and dump code coverage in the console output_coverage