]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Acceptance tests: show test report on GitLab CI
authorCleber Rosa <crosa@redhat.com>
Fri, 9 Oct 2020 20:55:13 +0000 (16:55 -0400)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 06:08:55 +0000 (08:08 +0200)
Avocado will, by default, produce JUnit files.  Let's ask GitLab
to present those in the web UI.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20201009205513.751968-4-crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml

index 14be45bbfe240930d89b8f379fc51c66471c09be..29e934fd53b13a92d01b1a99a0eefe3caf0985c2 100644 (file)
@@ -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