summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-03-01 17:30:39 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2022-03-03 14:06:11 +0000
commitfdcfdb5d608aa6965ecf1f45c2eb90c0664ed6d7 (patch)
tree3e8088f32f8b8bf2e8e9a35fae10ef0098fbeea0
parent430ba87d96d10bfa5fbf0d237d19a30c200996a2 (diff)
downloadlibgweather-fdcfdb5d608aa6965ecf1f45c2eb90c0664ed6d7.tar.gz
Add a "lint" tests suite
We have various CI jobs that have nothing to do with linting the data, so we should add a way to skip the tests that do.
-rw-r--r--data/meson.build17
1 files changed, 10 insertions, 7 deletions
diff --git a/data/meson.build b/data/meson.build
index e25732d..00c868d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,13 +1,15 @@
xmllint = find_program('xmllint', required: false)
if xmllint.found()
test('Valid Locations file',
- xmllint,
- args: [
- '--path', '@0@'.format(meson.current_source_dir()),
- '--noout',
- '--valid',
- 'Locations.xml',
- ])
+ xmllint,
+ args: [
+ '--path', '@0@'.format(meson.current_source_dir()),
+ '--noout',
+ '--valid',
+ 'Locations.xml',
+ ],
+ suite: ['lint'],
+ )
endif
if pylint.found()
@@ -17,6 +19,7 @@ if pylint.found()
pylint_flags,
gen_locations_variant.full_path(),
],
+ suite: ['lint'],
)
endif