diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe69577c5b2e289c408907fc566d26fdbf370adf..29be25f40312f256a7a20ed874ef65d69ad54c60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,6 @@ test: - echo "Checking $i ..." - eb --check-style $i - eb $i -D -r $CI_PROJECT_DIR/Golden_Repo 2>&1 | tee -a output - - errors_and_warnings=$({ grep -e ERROR -e WARNING output || $(which true); } | { grep -v macOS || $(which true) } | wc -l) + - errors_and_warnings=$(grep -e ERROR -e WARNING output | wc -l) - if [ $errors_and_warnings -ne 0 ]; then $(which false); fi - done