Skip to content

Commit 3251d35

Browse files
ci: No longer install & run gnome-keyring
Except for python bindings, till we replace that with oo7-daemon eventually.
1 parent b4cfe4d commit 3251d35

2 files changed

Lines changed: 0 additions & 34 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,6 @@ jobs:
5454
run: |
5555
cargo build --manifest-path ./portal/Cargo.toml
5656
57-
- name: Setup D-Bus and Secret Service for local tests
58-
run: |
59-
sudo apt-get update
60-
sudo apt-get install -y gnome-keyring dbus-x11
61-
62-
# Start D-Bus session
63-
mkdir -p ~/.local/share/keyrings
64-
eval $(dbus-launch --sh-syntax)
65-
export DBUS_SESSION_BUS_ADDRESS
66-
echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
67-
68-
# Initialize and unlock the default keyring
69-
printf '\n' | gnome-keyring-daemon --unlock --daemonize --login
70-
71-
# Give the service time to start
72-
sleep 3
73-
7457
- name: Test (native)
7558
run: |
7659
cargo test --manifest-path ./client/Cargo.toml --no-default-features --features tokio --features native_crypto --features schema

.github/workflows/coverage.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,6 @@ jobs:
5353
with:
5454
tool: grcov
5555

56-
- name: Install system dependencies and setup D-Bus
57-
run: |
58-
sudo apt-get update
59-
sudo apt-get install -y libssl-dev pkg-config gnome-keyring dbus-x11 jq
60-
61-
# Start D-Bus session
62-
mkdir -p ~/.local/share/keyrings
63-
eval $(dbus-launch --sh-syntax)
64-
export DBUS_SESSION_BUS_ADDRESS
65-
echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
66-
67-
# Initialize and unlock the default keyring
68-
printf '\n' | gnome-keyring-daemon --unlock --daemonize --login
69-
70-
# Give the service time to start
71-
sleep 3
72-
7356
- name: Run coverage script
7457
run: |
7558
chmod +x coverage.sh

0 commit comments

Comments
 (0)