diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97d547d5c5cd79ddd336ea0f66a92b762e3bdd99..62ef1dbd364d3a83a17f761a1a3a2b6fb0600b4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -444,7 +444,7 @@ check-compatibility-with-basop-reference-branch: - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref --html=report1.html --self-contained-html --junit-xml=report-junit1.xml || exit_code1=$? - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref_part2 --html=report2.html --self-contained-html --junit-xml=report-junit2.xml || exit_code2=$? - zero_errors=$(cat report-junit1.xml report-junit2.xml | grep -c 'errors="0"') || true - - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi + - if [ $zero_errors != 2 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - exit 0 artifacts: name: "check-float-reference--sha-$CI_COMMIT_SHORT_SHA--results"