From 281b333935f61888547506b85ec95dc86fc77b55 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Thu, 15 Aug 2024 16:20:26 +0200 Subject: [PATCH] Fix in job check-compatibility-with-basop-reference-branch --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97d547d5c5..62ef1dbd36 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" -- GitLab