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




commit 7e4de4e8d35722e00e7fb407fae27ba16406f8ed
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..e36eec5 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]