Commit e0434189 authored by norvell's avatar norvell
Browse files

Fix TODO comment. Add pass for identical reports in comparison to main

parent 30152e46
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ stages:

    - if [ $zero_errors != 1 ]; then
    -     echo "Run errors encountered!"
    # TODO: temporary only to not fail MR pipelines on crashes in encoder
    # TODO: temporary only to not fail MR pipelines on crashes
    -     if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
    -         exit $EXIT_CODE_NON_BE
    -     else
@@ -385,6 +385,8 @@ stages:
    -        exit_code=$EXIT_CODE_NON_BE;
    -    fi
    - fi
    # If reports are equal, the job will pass
    - if [ "$(diff -q $CSV_BRANCH $CSV_MAIN)" == "" ]; then exit_code=0; fi
    - exit $exit_code
  after_script:
    - rm -rf tests/dut tests/ref