Loading .gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -553,8 +553,10 @@ pytest-compare-20ms-and-5ms-rendering: - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report-5ms.html --self-contained-html --junit-xml=report-junit-5ms.xml --dut_fr 5 || exit_code1=$? - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report-10ms.html --self-contained-html --junit-xml=report-junit-10ms.xml --dut_fr 10 || exit_code2=$? - zero_errors=$(cat report-junit-5ms.xml report-junit-10ms.xml | grep -c 'errors="0"') || true # map to usual values - if [ $zero_errors -eq 2 ]; then zero_errors=1; else zero_errors=0; fi - exit_code=0 - if [ $exit_code -eq 1] || [ $exit_code2 -eq 1]; then exit_code=1; fi - if [ $exit_code1 -eq 1] || [ $exit_code2 -eq 1]; then exit_code=1; fi - *merge-request-comparison-check artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" Loading Loading
.gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -553,8 +553,10 @@ pytest-compare-20ms-and-5ms-rendering: - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report-5ms.html --self-contained-html --junit-xml=report-junit-5ms.xml --dut_fr 5 || exit_code1=$? - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report-10ms.html --self-contained-html --junit-xml=report-junit-10ms.xml --dut_fr 10 || exit_code2=$? - zero_errors=$(cat report-junit-5ms.xml report-junit-10ms.xml | grep -c 'errors="0"') || true # map to usual values - if [ $zero_errors -eq 2 ]; then zero_errors=1; else zero_errors=0; fi - exit_code=0 - if [ $exit_code -eq 1] || [ $exit_code2 -eq 1]; then exit_code=1; fi - if [ $exit_code1 -eq 1] || [ $exit_code2 -eq 1]; then exit_code=1; fi - *merge-request-comparison-check artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" Loading