[nautilus/wip/oholy/add-meson-test-deps-to-fix-ci] ci: Specify test dependencies to fix pipeline




commit b3d68fbbf8f679dc2a8357881c0c692ee9a9c425
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Apr 21 10:18:55 2021 +0200

    ci: Specify test dependencies to fix pipeline
    
    The `validate-desktop`, `validate-desktop-autorun-software` and
    `validate-appdata` meson tests fail currently because of the updated meson.
    This is because of the recent change, which requires explicit specification
    of dependencies. Let's specify them to fix the pipeline.
    
    https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/372

 data/meson.build | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 9a4e2ff52..cc1561d89 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -117,6 +117,9 @@ if desktop_file_validate.found()
     desktop_file_validate,
     args: [
       desktop.full_path()
+    ],
+    depends: [
+      desktop,
     ]
   )
   test(
@@ -124,6 +127,9 @@ if desktop_file_validate.found()
     desktop_file_validate,
     args: [
       desktop_autorun_software.full_path()
+    ],
+    depends: [
+      desktop_autorun_software,
     ]
   )
 endif
@@ -134,6 +140,9 @@ if appstream_util.found()
     'validate-appdata', appstream_util,
     args: [
       'validate-relax', '--nonet', appdata.full_path()
+    ],
+    depends: [
+      appdata,
     ]
   )
 endif


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