Commit 46984d17 authored by Jan Kiene's avatar Jan Kiene
Browse files

add merged csv file to artifacts

parent 14b98fe4
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -249,10 +249,11 @@ stages:
    -    unzip artifacts.zip -d previous_artifacts
    # This wildcard thingy relies on only one csv file being present per job
    -    file_previous="previous_artifacts/mld--ivas-pytest-mld-long-dec-$id_previous--sha-*.csv"
    -    python3 ci/basop-pages/create_report_pages.py $CI_JOB_NAME-index.html $MLD_ARTIFACT_NAME $file_previous $CI_JOB_ID $id_previous $CI_JOB_NAME
    -    python3 ci/basop-pages/create_report_pages.py $CI_JOB_NAME-index.html $CI_JOB_NAME--merged_csv--$CI_JOB_ID--$id_previous.csv $MLD_ARTIFACT_NAME $file_previous $CI_JOB_ID $id_previous $CI_JOB_NAME
    - else
    # create empty file for artifacts to avoid errors
    -    touch $CI_JOB_NAME-index.html
    -    touch $CI_JOB_NAME--merged_csv--$CI_JOB_ID--$id_previous.csv
    - fi

    - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi
@@ -271,6 +272,7 @@ stages:
      - report.html
      - $CI_JOB_NAME-index.html
      - $MLD_ARTIFACT_NAME
      - $CI_JOB_NAME-merged_csv--$CI_JOB_ID--$id_previous.csv
    expose_as: "pytest mld results"
    reports:
      junit: