meson: Don't access the network when validating metadata
Build servers might not allow network access and this shaves off a little time in the test suite. It shouldn't be a problem running the validation manually when adding new screenshots.
This commit is contained in:
@@ -42,6 +42,7 @@ if appstreamcli.found()
|
|||||||
test('Validate metainfo file', appstreamcli,
|
test('Validate metainfo file', appstreamcli,
|
||||||
args: ['validate',
|
args: ['validate',
|
||||||
'--pedantic',
|
'--pedantic',
|
||||||
|
'--no-net',
|
||||||
join_paths(meson.current_source_dir(),
|
join_paths(meson.current_source_dir(),
|
||||||
'org.gnome.Calls.metainfo.xml')
|
'org.gnome.Calls.metainfo.xml')
|
||||||
])
|
])
|
||||||
|
Reference in New Issue
Block a user