File tree Expand file tree Collapse file tree 5 files changed +24
-11
lines changed
cursorless-vscode-e2e/src Expand file tree Collapse file tree 5 files changed +24
-11
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,15 @@ jobs:
100100 env :
101101 NEOVIM_PATH : ${{ steps.vim.outputs.executable }}
102102
103- - name : Run neovim lua tests (Linux)
104- uses : ./.github/actions/test-neovim-lua/
105- if : runner.os == 'Linux' && matrix.app_version == 'stable'
106-
107- - name : Run neovim lua lint (Linux)
108- uses : ./.github/actions/lint-lua-ls/
109- if : runner.os == 'Linux' && matrix.app_version == 'stable'
103+ # FIXME: Re-enable neovim lua tests
104+ # https://github.com/cursorless-dev/cursorless/issues/2946
105+ # - name: Run neovim lua tests (Linux)
106+ # uses: ./.github/actions/test-neovim-lua/
107+ # if: runner.os == 'Linux' && matrix.app_version == 'stable'
108+
109+ # - name: Run neovim lua lint (Linux)
110+ # uses: ./.github/actions/lint-lua-ls/
111+ # if: runner.os == 'Linux' && matrix.app_version == 'stable'
110112
111113 - name : Create vscode dist that can be installed locally
112114 run : pnpm -F @cursorless/cursorless-vscode populate-dist --local-install
Original file line number Diff line number Diff line change 1+ export function isCI ( ) {
2+ return "CI" in process . env ;
3+ }
Original file line number Diff line number Diff line change 1- import { sleep } from "@cursorless/common" ;
1+ import { isLinux } from "@cursorless/node- common" ;
22import {
33 getCursorlessApi ,
44 openNewNotebookEditor ,
@@ -7,9 +7,15 @@ import {
77import assert from "assert" ;
88import { window } from "vscode" ;
99import { endToEndTestSetup } from "../endToEndTestSetup" ;
10+ import { isCI } from "../isCI" ;
1011
1112// Check that setSelection is able to focus the correct cell
1213suite ( "Cross-cell set selection" , async function ( ) {
14+ // FIXME: This test is flaky on Linux CI, so we skip it there for now
15+ if ( isCI ( ) && isLinux ( ) ) {
16+ this . ctx . skip ( ) ;
17+ }
18+
1319 endToEndTestSetup ( this ) ;
1420
1521 test ( "Cross-cell set selection" , runTest ) ;
@@ -20,8 +26,6 @@ async function runTest() {
2026
2127 await openNewNotebookEditor ( [ '"hello"' , '"world"' ] ) ;
2228
23- await sleep ( 200 ) ;
24-
2529 await hatTokenMap . allocateHats ( ) ;
2630
2731 await runCursorlessCommand ( {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export * from "./FileSystemTutorialContentProvider";
55export * from "./getCursorlessRepoRoot" ;
66export * from "./getFixturePaths" ;
77export * from "./getScopeTestPathsRecursively" ;
8- export * from "./isWindows " ;
8+ export * from "./isOS " ;
99export * from "./loadFixture" ;
1010export * from "./nodeGetRunMode" ;
1111export * from "./runRecordedTest" ;
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ import * as os from "node:os";
33export function isWindows ( ) {
44 return os . platform ( ) === "win32" ;
55}
6+
7+ export function isLinux ( ) {
8+ return os . platform ( ) === "linux" ;
9+ }
You can’t perform that action at this time.
0 commit comments