Commit 4edf911f authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'ci/rename_artfacts_of_ltv_job' into 'main'

[CI] rename mld artifacts

See merge request !335
parents e5a519cc 3080f94e
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -216,6 +216,8 @@ stages:
  stage: test
  needs: ["build-codec-linux-make"]
  timeout: "240 minutes"
  variables:
    MLD_ARTIFACT_NAME: "mld--$CI_JOB_NAME-$CI_JOB_ID--sha-$CI_COMMIT_SHORT_SHA.csv"
  script:
    - *print-common-info
    - *update-scripts-repo
@@ -237,7 +239,7 @@ stages:
    - python3 -m pytest $TEST_SUITE -v --create_cut --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH -n auto --testcase_timeout $testcase_timeout || exit_code=$?
    - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true

    - python3 scripts/parse_mld_xml.py report-junit.xml mld.csv
    - python3 scripts/parse_mld_xml.py report-junit.xml $MLD_ARTIFACT_NAME

    - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi
    - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi
@@ -253,7 +255,7 @@ stages:
    paths:
      - report-junit.xml
      - report.html
      - mld.csv
      - $MLD_ARTIFACT_NAME
    expose_as: "pytest mld results"
    reports:
      junit: