1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-05-29 08:29:26 +00:00

ci: Use strict metadata validation, but allow it to fail

Validation will fail because the screenshots height is too large and not using a
16:9 aspect ratio:

• attribute-invalid     : <screenshot> height too large
  [https://gitlab.gnome.org/GNOME/calls/raw/master/data/screenshots/history.png]
  maximum is 900px

• aspect-ratio-invalid  : <screenshot> aspect ratio not 16:9
  [https://gitlab.gnome.org/GNOME/calls/raw/master/data/screenshots/calling.png]

The strict validation will nevertheless provide valuable information.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-10-19 12:14:08 +02:00
parent eb0bf0abf4
commit 65f487f1e8

View file

@ -75,9 +75,10 @@ check-po:
- cd po/
- intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0
validate-metadata:
validate-metadata-strict:
stage: test
image: debian:bookworm
allow_failure: true
tags: []
before_script:
- export DEBIAN_FRONTEND=noninteractive
@ -85,7 +86,7 @@ validate-metadata:
- apt-get -y install eatmydata ca-certificates
- eatmydata apt-get -y install appstream-util
script:
- appstream-util validate data/org.gnome.Calls.metainfo.xml
- appstream-util validate-strict data/org.gnome.Calls.metainfo.xml
package-debian-bookworm:
tags: []