Skip to content

Commit 122f586

Browse files
committed
fix: Linux keyring on GitHub Actions
1 parent 007f19c commit 122f586

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: "Setup Environment"
3636
run: |
3737
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
38-
sudo apt-get install firefox xdg-user-dirs xdg-user-dirs-gtk gettext tzdata locales libnotify-dev libsecret-tools notification-daemon xvfb -y
38+
sudo apt-get install gnome-keyring dbus-x11 xdg-user-dirs xdg-user-dirs-gtk gettext tzdata locales libnotify-dev libsecret-tools notification-daemon xvfb -y
3939
xdg-user-dirs-update
4040
xdg-user-dirs-gtk-update
4141
sudo locale-gen en_US.UTF-8
@@ -48,5 +48,10 @@ jobs:
4848
- name: "Build"
4949
run: dotnet build -c Release
5050
- name: "Test"
51-
run: dotnet test -c Release ${{ env.TEST_PROJECT_NAME }}
51+
run: |
52+
dbus-run-session -- bash -c "
53+
gnome-keyring-daemon --unlock --replace --daemonize
54+
echo -n '' | gnome-keyring-daemon --unlock
55+
dotnet test -c Release ${{ env.TEST_PROJECT_NAME }}
56+
"
5257

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Nick Logozzo
3+
Copyright (c) 2025 Nickvision
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)