Skip to content

It's not clear how to view jUnit-style test reports via the web interface

I've set up CI in Gitlab (11.3.5) to run Pytest tests in my project. This is my .gitlab-ci.yml:

test:
  script:
    - ./ci-script.sh
  artifacts:
    reports:
      junit: testresults.xml

The tests successfully run via the shell runner, and an artifact testresults.xml is produced by Pytest and uploaded:

Uploading artifacts...
Runtime platform                                    arch=amd64 os=linux pid=15392 revision=8af42251 version=11.4.0
testresults.xml: found 1 matching files            
Uploading artifacts to coordinator... ok            id=28 responseStatus=201 Created token=d_z8UEUw
Job succeeded

However, I can't find where the results are shown on the web interface as a proper report (rather than downloadable artifact). They're not on the jobs page (where that output is shown), nor in the page for the commit itself. Can they somehow be made more discoverable?