From 96ecdbc4cad0d9b96839056f0cf8cb9c7f370d72 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 4 Dec 2021 13:53:21 -0500 Subject: [PATCH] dbus in docker --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a882b533..38eb838e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,5 +30,10 @@ test_linux_amd64: - dbus-uuidgen > /var/lib/dbus/machine-id - mkdir -p /var/run/dbus - dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address + - | + dbus-run-session -- sh << END + echo | gnome-keyring-daemon --unlock + cargo test -- --nocapture + END # - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo test -- --nocapture - RUST_BACKTRACE=1 cargo test -- --nocapture