summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2020-05-04 19:22:35 +0200
committerJonas Ådahl <jadahl@gmail.com>2021-09-04 10:04:00 +0200
commitbf54a16f9229fa92e2abbdfe6bb1f7616c551925 (patch)
treebec0345dd50a6fcb6e3c42997c139ac080f9fdff /.gitlab-ci.yml
parent58fb865a7ccff63e6432d7fe3647b4391924db87 (diff)
downloadmutter-bf54a16f9229fa92e2abbdfe6bb1f7616c551925.tar.gz
tests: Add MetaOrientationManager tests via SensorsProxy mock
Create a test system bus and use it to run all the tests, add a mock SensorsProxy (via dbusmock template) server that implements the net.hadess.SensorProxy interface. To make testing easier, the service is created on request of a proxy for it, whose lifetime controls the mock service lifetime as well. This is done using a further mock service that is used to manage the others, using python-dbusmock to simplify the handling. Add basic tests for the orientation manager. As per the usage dbusmock, we're now launching all the tests under such wrapper, so that local dbus environment won't ever considered, and there's no risk that it may affect the tests results both locally and in CI. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8513aae6b..bf1cb57c4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,8 +16,16 @@ variables:
.mutter.fedora:34@common:
variables:
FDO_DISTRIBUTION_VERSION: 34
- BASE_TAG: '2021-08-25.0'
- FDO_DISTRIBUTION_PACKAGES: 'gdm gnome-shell xorg-x11-server-Xvfb sassc gcovr clang uncrustify'
+ BASE_TAG: '2021-09-04.0'
+ FDO_DISTRIBUTION_PACKAGES:
+ clang
+ gcovr
+ gdm
+ gnome-shell
+ python3-dbusmock
+ sassc
+ uncrustify
+ xorg-x11-server-Xvfb
FDO_DISTRIBUTION_EXEC: |
dnf install -y 'dnf-command(builddep)' &&