Skip to content

Commit 00684c4

Browse files
committed
fix: disable credential test in github runner linux desktop as key ring not reachable
1 parent 9060bcc commit 00684c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/spec/Tauri-platform-test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ define(function (require, exports, module) {
151151
await window.__TAURI__.invoke("delete_credential", { scopeName }).catch(() => {});
152152
});
153153

154+
if(Phoenix.isTestWindowGitHubActions && Phoenix.platform === "linux"){
155+
// Credentials test doesn't work in GitHub actions in linux desktop as the runner cant reach key ring.
156+
it("Should not run in github actions in linux desktop", async function () {
157+
expect(1).toEqual(1);
158+
});
159+
return;
160+
}
161+
154162
describe("Credential Storage & OTP Generation", function () {
155163
it("Should store credentials successfully", async function () {
156164
await expectAsync(

0 commit comments

Comments
 (0)