Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,27 @@ jobs:
if: runner.os == 'Linux' && matrix.app_version == 'stable'
env:
NEOVIM_PATH: ${{ steps.vim.outputs.executable }}
- uses: lunarmodules/[email protected]
- name: Set up Lua
uses: leafo/gh-actions-lua@v9
with:
luaVersion: "luajit-2.1.0-beta3"
if: runner.os == 'Linux' && matrix.app_version == 'stable'
id: neovimLuaTests
- name: Run neovim lua unit tests
run: xvfb-run -a cd cursorless.nvim && busted --run unit
- name: Set up Luarocks
uses: leafo/gh-actions-luarocks@v4
with:
luaVersion: "5.1"
if: runner.os == 'Linux' && matrix.app_version == 'stable'
- name: Install Busted
run: |
luarocks install busted
luarocks install luafilesystem
if: runner.os == 'Linux' && matrix.app_version == 'stable'
- name: Run cursorless.nvim busted lua tests
run: |
cd cursorless.nvim
busted --run unit
if: runner.os == 'Linux' && matrix.app_version == 'stable'
id: neovimLuaTests
- name: Create vscode dist that can be installed locally
run: pnpm -F @cursorless/cursorless-vscode populate-dist --local-install
if: runner.os == 'Linux' && matrix.app_version == 'stable'
Expand Down