22 Commits

Author SHA1 Message Date
Guido Günther
1ecb9fbb48 ci: Fix destination path
Moving multiple files into a non existent target folder won't work.
Just move the whole directory instead.

While at that list the folder content so we get an idea what CI
produced.
2023-12-25 12:18:39 +01:00
Guido Günther
2c9aaba33b ci: Publish docs via gitlab-pages 2023-12-24 16:32:28 +01:00
Dylan Van Assche
8f53394fb5 CI: more fixes
Passed fine in MR, but not in master
2023-11-21 18:16:31 +01:00
Dylan Van Assche
b38c8da204 CI: fix dnf
Fedora is switching from dnf to dnf5, handle both in CI.
2023-11-21 18:06:14 +01:00
Bastien Nocera
43f093115f ci: Use detached pipelines
See https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
2023-03-15 13:49:32 +01:00
Bastien Nocera
e4f0e05af3 tests: Make tests a build option
And don't skip tests if any test dependencies are missing.
2022-04-04 17:51:47 +02:00
Bastien Nocera
0b1574d0eb main: Check whether user is allowed to claim a sensor
Check whether a particular user/D-Bus client is allowed to claim a
sensor.

The ClaimCompass method on net.hadess.SensorProxy.Compass doesn't have a
check as only the geoclue user is allowed to access this interface, as
per the D-Bus configuration.
2021-09-29 12:06:55 +02:00
Bastien Nocera
860405323b ci: Remove libgudev manual installation
The package is already available in repositories.
2021-08-19 20:35:46 +02:00
Bastien Nocera
4a0033c8dd ci: Install newer libgudev 2021-08-15 00:18:35 +02:00
Bastien Nocera
38c1b4d5c1 ci: Add French locale to CI 2021-08-14 22:48:54 +02:00
Bastien Nocera
eb38ddb0d2 ci: Remove python-dbusmock hacks 2021-08-14 10:42:19 +02:00
Bastien Nocera
f9f4976582 ci: Export the created dist 2021-06-14 13:40:32 +02:00
Bastien Nocera
5c6fa19b17 ci: Work-around uninstallable python-dbusmock in rawhide 2021-06-14 13:30:46 +02:00
Bastien Nocera
203d6508dc tests: Fix test_input_accel() leaking a daemon
test_input_accel() uses umockdev-run, and killing umockdev-run doesn't
kill the child iio-sensor-proxy daemon we make it spawn, making any test
running after this one fail. As the tests are run alphabetically, we
were lucky that this test was the last one, but we can't rely on that.

Instead, use psutil to list all the children processes and kill those
before killing umockdev-run.
2021-01-22 11:05:42 +01:00
Bastien Nocera
483af259af ci: Export test failures as artifacts 2021-01-18 15:29:52 +01:00
Bastien Nocera
39ff633f48 ci: Add test dependencies 2021-01-15 12:35:41 +01:00
Bastien Nocera
1bf7d32fc5 ci: Indent package dependencies
To make it clearer when adding or removing deps
2021-01-15 12:35:41 +01:00
Bastien Nocera
e3e939bcae ci: Use meson in the CI 2020-06-26 18:20:16 +02:00
Bastien Nocera
9ddf394c32 ci: Enable GPG checks on package install 2020-02-19 14:46:07 +01:00
Bastien Nocera
3694cd3101 ci: Build with -D_FORTIFY_SOURCE=2
As Debian and Ubuntu do.
2020-01-09 17:28:05 +01:00
Bastien Nocera
d8b70e735d ci: Fix CI
Don't "allow_failure", install packages from the correct variable and
add some missing dependencies.
2020-01-09 17:17:01 +01:00
Bastien Nocera
69cca75e12 ci: Add CI 2020-01-09 16:43:04 +01:00