[gupnp-dlna/wip/meson: 1/2] ci: Make running the discoverer tests configurable




commit f7bc8a57a1c16e9b5c8e3c56f80403068338a658
Author: Jens Georg <jensg openismus com>
Date:   Thu May 27 00:22:44 2021 +0200

    ci: Make running the discoverer tests configurable

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3d191d..ca95b58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,7 +98,12 @@ build-fedora@x86_64:
     G_SLICE: "always-malloc"
     MALLOC_CHECK_: "3"
   script:
-    - git clone --depth=1 https://gitlab.gnome.org/GNOME/gupnp-dlna-media.git tests/gupnp-dlna-media
+    - if [[ x"GUPNP_DLNA_RUN_MEDIA_TEST" != "x" ]] ;
+      then
+        git clone --depth=1 https://gitlab.gnome.org/GNOME/gupnp-dlna-media.git tests/gupnp-dlna-media ;
+      else
+        echo "Media discoverer tests disabled." ;
+      fi
     - cd build
     - |
       # Remove the many "CI_" variables from the environment. Meson dumps the


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