Skip to content

Commit eb12792

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

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/rpc-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,15 @@ jobs:
3232
- uses: actions/checkout@v4
3333
- uses: stellar/actions/rust-cache@main
3434
- run: rustup update
35-
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev gnome-keyring
35+
- 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
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)