[calls] ci: Validate appstream metadata



commit 2d6cc5e65bc55d89f16171028429b0cd0a76133f
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri Jul 16 19:23:59 2021 +0200

    ci: Validate appstream metadata

 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e713cda3..75c1ab8f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,6 +79,17 @@ check-po:
     - cd po/
     - intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0
 
+validate-metadata:
+  stage: test
+  image: debian:bullseye
+  tags: []
+  before_script:
+    - export DEBIAN_FRONTEND=noninteractive
+    - apt-get -y update
+    - apt-get -y install appstream-util
+  script:
+    - appstream-util validate data/org.gnome.Calls.metainfo.xml
+
 package-debian-bullseye:
   variables:
     EXP_DEPS: libhandy-1-dev/experimental libhandy-1-0/experimental gir1.2-handy-1/experimental 
libgladeui-common/experimental


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