dbus in docker

This commit is contained in:
John Smith 2021-12-04 13:53:21 -05:00
parent f500d643d8
commit 96ecdbc4ca

View File

@ -30,5 +30,10 @@ test_linux_amd64:
- dbus-uuidgen > /var/lib/dbus/machine-id - dbus-uuidgen > /var/lib/dbus/machine-id
- mkdir -p /var/run/dbus - mkdir -p /var/run/dbus
- dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address - 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 # - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo test -- --nocapture
- RUST_BACKTRACE=1 cargo test -- --nocapture - RUST_BACKTRACE=1 cargo test -- --nocapture