Skip to content

Commit f292ef1

Browse files
fixup! fixup! Start dbus and gnome-keyring for linux integration tests
1 parent d2c7da0 commit f292ef1

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/rpc-tests.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,11 @@ jobs:
3434
- run: rustup update
3535
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev gnome-keyring dbus dbus-x11
3636
if: runner.os == 'Linux'
37-
- name: Start D-Bus and GNOME Keyring
37+
- name: Start GNOME Keyring
3838
if: runner.os == 'Linux'
3939
run: |
40-
mkdir -p /tmp/runtime-dir
41-
export XDG_RUNTIME_DIR=/tmp/runtime-dir
42-
chmod 700 $XDG_RUNTIME_DIR
43-
44-
export $(dbus-launch)
45-
eval $(gnome-keyring-daemon --start --components=secrets)
46-
export DBUS_SESSION_BUS_ADDRESS
47-
echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
40+
gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
41+
gnome-keyring-daemon
4842
- run: cargo build --features additional-libs
4943
- run: rustup target add wasm32-unknown-unknown
5044
- run: make build-test-wasms

0 commit comments

Comments
 (0)