mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-05 08:01:19 +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.
(cherry picked from commit 65f487f1e8
)
This commit is contained in:
parent
e79dc64238
commit
7e980e2153
1 changed files with 3 additions and 2 deletions
|
@ -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: []
|
||||
|
|
Loading…
Reference in a new issue