diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2020-11-12 10:48:11 +0100 |
---|---|---|
committer | Frédéric Martinsons <frederic.martinsons@sigfox.com> | 2021-01-15 16:44:19 +0000 |
commit | 89cd1696c3a105f314b1a7e275c68377ed6df5e4 (patch) | |
tree | 0e9e2f127a117ff24d09d17cccaff6f7fa74729d /.gitlab-ci.yml | |
parent | 17ea1dfa130001599b7dff421a1b7d71c25faa34 (diff) |
tools: add unit test for test-modemmanager-service.py
The tests spawn the service via GTestDBus framework and make
some test API call while checking libmm interface to verify
that informations are well propagated.
To be able to use the fresh built libmm typelib, I used a
wrapper script to set GI_TYPELIB_PATH (because DBus activation
process clean the environment so it is not possible to set
it directly in the file).
This requires also the install of libgirepository-dev and python3-gi
in the CI docker.
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e429af6c..a8371f75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: before_script: - apt update || true - - apt -y install autoconf automake libtool libglib2.0-dev libgudev-1.0-dev libgettextpo-dev autopoint xsltproc dbus autoconf-archive gettext + - apt -y install autoconf automake libtool libgettextpo-dev libgirepository1.0-dev libglib2.0-dev libgudev-1.0-dev python3-dbus python3-gi autopoint xsltproc dbus autoconf-archive gettext build-no-qmi: stage: build @@ -125,7 +125,7 @@ build-default: - schedules - pushes script: - - apt -y install gtk-doc-tools libglib2.0-doc gobject-introspection libgirepository1.0-dev libsystemd-dev libpolkit-gobject-1-dev valac + - apt -y install gtk-doc-tools libglib2.0-doc gobject-introspection libsystemd-dev libpolkit-gobject-1-dev valac - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git - pushd libmbim - NOCONFIGURE=1 ./autogen.sh |