summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@gnome.org>2024-04-12 17:06:03 +0100
committerPhilip Withnall <pwithnall@gnome.org>2024-04-12 17:06:03 +0100
commit5b3e32d09418637e5ce8581bf4e7e71aa573ef89 (patch)
treeb6e37dba2308466bbf80185135672e7d39f700af
parent950731702d03d2f1b4b1fa2b23c4233e54f9a181 (diff)
ci: Run the xdgmime test suite first
While the xdgmime test suite actually gets run by shared-mime-info when it’s built and uses xdgmime as a subproject, it seems a bit more sensible to explicitly run the xdgmime tests in the top-level project first, and to restrict the shared-mime-info build to running the shared-mime-info tests. We’re building shared-mime-info because it’s a good test for xdgmime (and xdgmime’s test suite is…small) not because it needs to be there as a wrapper for the tests. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c10e94..333e1be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,7 @@ build:meson:
script:
- meson setup --werror _build
- meson compile -C _build
+ - meson test -C _build
# Compile shared-mime-info
- git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
@@ -28,4 +29,4 @@ build:meson:
- ln --relative --symbolic .. subprojects/xdgmime
- meson setup _build
- meson compile -C _build
- - meson test -C _build
+ - meson test -C _build --suite shared-mime-info