Skip to content

Commit 73b89d4

Browse files
authored
Restore neovim lua tests (#2982)
1 parent bfc4d84 commit 73b89d4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/actions/test-neovim-lua/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ runs:
77
with:
88
luaVersion: "luajit-openresty"
99
- uses: leafo/gh-actions-luarocks@v5
10+
with:
11+
luarocksVersion: "3.12.0"
1012
- shell: bash
1113
run: |
1214
luarocks install busted

.github/workflows/test.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,13 @@ jobs:
100100
env:
101101
NEOVIM_PATH: ${{ steps.vim.outputs.executable }}
102102

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'
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'
112110

113111
- name: Create vscode dist that can be installed locally
114112
run: pnpm -F @cursorless/cursorless-vscode populate-dist --local-install

0 commit comments

Comments
 (0)