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



commit f7619d03f8257ba58264566131bd8102cc3be8d9
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 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3d191d..a617cfb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,7 +98,13 @@ 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]