Commit a3248872 authored by Jan Kiene's avatar Jan Kiene
Browse files

extend pages job to also get the coverage job artifacts

parent 7ac3f332
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1147,6 +1147,14 @@ pages:
    - *unzip-or-cat
    - mv complexity-StereoDmxEVS-stereo-in-mono-out-public ./public/

    ### collect artifacts from coverage job
    - job_id=$(python3 ci/get_id_of_last_job_occurence.py $branch coverage-test-on-main-scheduled)
    - echo $job_id
    - echo "$API_URL_BASE/$job_id/artifacts"
    - curl --request GET "$API_URL_BASE/$job_id/artifacts" --output $ARTIFACTS
    - *unzip-or-cat
    - mv coverage ./public

    - cp ci/index-pages.html public/index.html
  artifacts:
    paths:
+6 −0
Original line number Diff line number Diff line
@@ -16,4 +16,10 @@
    <li><a href="complexity-StereoDmxEVS-stereo-in-mono-out-public/index.html">StereoDmxEVS</a></li>
  </ul>

  <h2>Test Coverage</h2>

  <ul>
    <li><a href="coverage/index.html">Coverage report</a></li>
  </ul>

</body>