[gnome-bluetooth/wip/hadess/more-tests-fun: 1/3] ci: Install dbusmock straight away




commit 1f154fa0dd4912bbe2ddd5dadd53cb93d2456205
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 20 14:02:38 2022 +0100

    ci: Install dbusmock straight away
    
    We need it to be available to list the tests.

 .gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f3395c0b..5f57049b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,18 +26,17 @@ variables:
 build_stable:
   before_script:
     - dnf update -y --nogpgcheck
-    - dnf install -y --nogpgcheck $DEPENDENCIES
+    - dnf install -y --nogpgcheck $DEPENDENCIES $TEST_DEPS
   script:
-    - meson . _build --prefix=/usr -Dicon_update=true -Dgtk_doc=true -Dintrospection=true -Dsendto=true
-    - ninja -C _build
-    - ninja -C _build install
     # Install newer python-dbusmock
     - git clone --branch=wip/hadess/bluez-modalias-prop https://github.com/hadess/python-dbusmock.git
     - cd python-dbusmock
     - python3 setup.py build
     - python3 setup.py install
     - cd ..
-    - dnf install -y $TEST_DEPS
+    - meson . _build --prefix=/usr -Dicon_update=true -Dgtk_doc=true -Dintrospection=true -Dsendto=true
+    - ninja -C _build
+    - ninja -C _build install
     - ninja -C _build test
     - .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml
     - ninja -C _build dist


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