|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH 3/3] Acceptance tests: show test report on GitLab CI |
| Date: | Sat, 10 Oct 2020 11:11:46 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
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é <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Cleber Rosa <crosa@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
| [Prev in Thread] | Current Thread | [Next in Thread] |