Skip to content

test: run Nvim test harness without repo checkout - #98

Merged
justinmk merged 1 commit into
mainfrom
fixes
Nov 10, 2026
Merged

justinmk merged 1 commit into
mainfrom
fixes

Conversation

@justinmk

@justinmk justinmk commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Problem:
Tests require a Nvim source tree + build (NEOVIM_PATH), and CI builds Nvim
from source.

Solution:
"make test" downloads the test modules from Nvim master to .deps/, and runs
them on "nvim" from $PATH or NVIM_PRG. CI uses nightly.

Problem:
- Tests require a Nvim source tree + build (NEOVIM_PATH), and CI builds Nvim
  from source.
- Each test waits ~1s because `-c "cd '…'"` fails at startup.

Solution:
- "make test" downloads the test modules from Nvim master to .deps/, and
  runs them on "nvim" from $PATH or NVIM_PRG. Depends on neovim/neovim#42786
- Drop the "cd": the harness cwd is already the repo root.
@justinmk
justinmk merged commit 39df7dc into main Nov 10, 2026
1 check passed
@justinmk
justinmk deleted the fixes branch November 10, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant