[tracker-miners/wip/carlosg/tap-tests: 3/3] ci: Enable TAP protocol in tests




commit 6ef478661819d6295e9274e3dcc365bf025dc797
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Mar 22 12:06:40 2021 +0100

    ci: Enable TAP protocol in tests
    
    And make use of the resulting JUnit output.

 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44bdbf502..e8d6b9a21 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ stages:
     - echo "Building tracker.git commit $(git -C ./subprojects/tracker rev-parse HEAD)"
     - mkdir build
     - cd build
-    - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true
+    - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true -Dtap_tests=true
     - ninja
     - |
       # Remove the many "CI_" variables from the environment. Meson dumps the
@@ -54,7 +54,8 @@ stages:
     when: always
     paths:
     - build/meson-logs/*.txt
-
+    reports:
+      junit: "build/meson-logs/testlog.junit.xml"
 
 test-fedora-latest:
   image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]