From 88fc3e24d3c0d907f234ed9063d4bb6d5e944fb3 Mon Sep 17 00:00:00 2001 From: Alexandros Frantzis Date: Fri, 4 Sep 2020 13:53:41 +0300 Subject: [PATCH] gitlab-ci: Enable unit test reports for lava traces jobs Download from minio the JUnit XML file that tracie produces and inform gitlab about it, so that the pipeline page can present more detailed information about tracie test results. Signed-off-by: Alexandros Frantzis Reviewed-by: Eric Anholt Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- .gitlab-ci/lava-gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml index fe7ac4a..431ed55 100644 --- a/.gitlab-ci/lava-gitlab-ci.yml +++ b/.gitlab-ci/lava-gitlab-ci.yml @@ -131,23 +131,34 @@ kernel+rootfs_armhf: - kernel+rootfs_amd64 - meson-testing +.lava-traces-base: + after_script: + - mkdir -p artifacts + - wget -O "artifacts/junit.xml" "https://minio-packet.freedesktop.org/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/${CI_JOB_ID}/traces/junit.xml" + artifacts: + reports: + junit: artifacts/junit.xml + .lava-traces:amd64: variables: TEST_SUITE: "tracie" extends: - .lava-test:amd64 + - .lava-traces-base .lava-traces:armhf: variables: TEST_SUITE: "tracie" extends: - .lava-test:armhf + - .lava-traces-base .lava-traces:arm64: variables: TEST_SUITE: "tracie" extends: - .lava-test:arm64 + - .lava-traces-base panfrost-t720-gles2:arm64: extends: -- 2.7.4