On 10/9/20 10:55 PM, Cleber Rosa wrote:
Avocado will, by default, produce JUnit files.  Let's ask GitLab
to present those in the web UI.

https://gitlab.com/philmd/qemu/-/pipelines/200764992/test_report

Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Tested-by: Philippe Mathieu-Daudé <phi...@redhat.com>


Signed-off-by: Cleber Rosa <cr...@redhat.com>
---
  .gitlab-ci.yml | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bed5fe6161..7d4b2ced9e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,6 +53,11 @@ include:
      paths:
        - ${CI_PROJECT_DIR}/avocado-cache
      policy: pull-push
+  artifacts:
+    paths:
+      - build/tests/results/latest/results.xml
+    reports:
+      junit: build/tests/results/latest/results.xml
    before_script:
      - mkdir -p ~/.config/avocado
      - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf



Reply via email to