[libgudev/wip/hadess/fix-sysfs-attr: 4/4] ci: Build and run tests




commit 542418401a74b2b7e945c39c85bdbc6e20e0165a
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 16 11:22:57 2021 +0100

    ci: Build and run tests

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 742aaf8..8a113c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,9 +29,10 @@ build-fedora:
   before_script:
     - dnf install -y ${DNF_CORE_DEPS} ${DNF_TEST_DEPS}
   script:
-    - meson setup build/
+    - meson setup -Dtests=enabled build/
     - ninja -C build/ install
     - .ci/check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
+    - ninja -C build/ test
 
 reference:
   stage: document


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]