Skip to content

Commit ca84a24

Browse files
Start dbus and gnome-keyring for linux integration tests
1 parent b1aefe4 commit ca84a24

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/rpc-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
- run: rustup update
3535
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev gnome-keyring
3636
if: runner.os == 'Linux'
37+
- name: Start D-Bus and GNOME Keyring
38+
if: runner.os == 'Linux'
39+
run: |
40+
export $(dbus-launch)
41+
eval $(gnome-keyring-daemon --start --components=secrets)
42+
export DBUS_SESSION_BUS_ADDRESS
43+
echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
3744
- run: cargo build
3845
- run: rustup target add wasm32-unknown-unknown
3946
- run: make build-test-wasms

0 commit comments

Comments
 (0)