Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: neovim-nightly (v0.11.0) errors in CI #180

Closed
fredrikaverpil opened this issue Sep 9, 2024 · 0 comments · Fixed by #181
Closed

bug: neovim-nightly (v0.11.0) errors in CI #180

fredrikaverpil opened this issue Sep 9, 2024 · 0 comments · Fixed by #181
Labels
bug Something isn't working

Comments

@fredrikaverpil
Copy link
Owner

fredrikaverpil commented Sep 9, 2024

Neovim version (nvim -v)

v0.11.0-dev-734+g8a2aec997

Operating system/version

linux

Describe the bug

CI fails tests when running with nightly neovim.

.tests/all/site/pack/deps/start/nvim-nio/lua/nio/tests.lua:48: Test task failed with message:
The coroutine failed with this message: 
...r/nvim-nightly/share/nvim/runtime/lua/vim/treesitter.lua:222: attempt to call method 'start' (a nil value)
stack traceback:
	...r/nvim-nightly/share/nvim/runtime/lua/vim/treesitter.lua: in function 'get_node_text'
	...k/deps/start/neotest/lua/neotest/lib/treesitter/init.lua:29: in function 'build_position'
	...k/deps/start/neotest/lua/neotest/lib/treesitter/init.lua:64: in function 'collect'
	...k/deps/start/neotest/lua/neotest/lib/treesitter/init.lua:162: in function 'parse_positions_from_string'
	...k/deps/start/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'parse_positions'
	./lua/neotest-golang/query.lua:138: in function <./lua/neotest-golang/query.lua:126>

stack traceback:
	.tests/all/site/pack/deps/start/nvim-nio/lua/nio/tests.lua:48: in function <.tests/all/site/pack/deps/start/nvim-nio/lua/nio/tests.lua:31>
	.tests/all/site/pack/deps/start/nvim-nio/lua/nio/tests.lua:89: in function 'with_async_context'
	...olang/neotest-golang/tests/go/testify/positions_spec.lua:171: in function <...olang/neotest-golang/tests/go/testify/positions_spec.lua:80>

Example test failure: https://github.com/fredrikaverpil/neotest-golang/actions/runs/10776208100/job/29882411561?pr=173

I wonder if something is up with Neotest: nvim-neotest/neotest#452

@fredrikaverpil fredrikaverpil added the bug Something isn't working label Sep 9, 2024
@fredrikaverpil fredrikaverpil changed the title bug: neovim-nightly errors in CI bug: neovim-nightly (v0.11.0) errors in CI Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant