Skip to content

Commit 276a9fa

Browse files
Skip custom spoken form test on Linux in CI (#3160)
1 parent d34eb8e commit 276a9fa

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎packages/cursorless-vscode-e2e/src/suite/scopeProvider/scopeProvider.vscode.test.ts‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { asyncSafety } from "@cursorless/common";
2+
import { isLinux } from "@cursorless/node-common";
23
import { endToEndTestSetup } from "../../endToEndTestSetup";
4+
import { isCI } from "../../isCI";
35
import { runBasicScopeInfoTest } from "./runBasicScopeInfoTest";
46
import { runCustomRegexScopeInfoTest } from "./runCustomRegexScopeInfoTest";
57
import { runCustomSpokenFormScopeInfoTest } from "./runCustomSpokenFormScopeInfoTest";
@@ -18,7 +20,14 @@ suite("scope provider", async function () {
1820
);
1921
test(
2022
"custom spoken form",
21-
asyncSafety(() => runCustomSpokenFormScopeInfoTest()),
23+
asyncSafety(() => {
24+
// FIXME: This test is flaky on Linux CI, so we skip it there for now
25+
if (isCI() && isLinux()) {
26+
this.ctx.skip();
27+
}
28+
29+
return runCustomSpokenFormScopeInfoTest();
30+
}),
2231
);
2332
test(
2433
"custom regex",

0 commit comments

Comments
 (0)