Add comprehensive testing and CI setup#1
Merged
williamthome merged 10 commits intomainfrom Aug 29, 2025
Merged
Conversation
- Add plenary.nvim test suite with 9 test cases covering all plugin functionality - Add GitHub Actions CI testing Neovim v0.8, v0.9, v0.10, stable, and nightly - Add Makefile with development commands (test, lint, format, install, health) - Add stylua code formatting with proper configuration - Use hash-pinned GitHub Actions for security - Test coverage: plugin loading, filetype detection, tree-sitter, otter.nvim, health checks
- Fix missing indentation for checkout action uses statements - Resolves workflow validation errors on lines 32 and 54
- Change from non-existent Lua 5.5 to available Lua 5.4 - Resolves CI failure due to invalid Lua version
- Use Lua 5.3 which has better luarocks package availability - Should resolve stylua installation issue in CI lint job
- Use v0.8.3, v0.9.5, v0.10.3 instead of non-existent v0.8, v0.9, v0.10 tags - These are actual git tags that exist in neovim/neovim repository - Resolves CI failure where setup-neovim-action couldn't find the tags
- Use JohnnyMorganz/stylua-action@479972f (v4.1.0) - Remove unnecessary Lua/Luarocks setup steps for linting job - Hash-pinned for security and uses official action with better caching - Resolves stylua installation issues with luarocks compatibility
- Remove v0.8.3 from CI matrix due to compatibility issues with dependencies - Update documentation to reflect Neovim 0.9+ requirement - nvim-treesitter and otter.nvim latest versions require newer Neovim APIs
- Replace slow stable/nightly with fast tagged releases: v0.9.5, v0.10.4, v0.11.3 - Reduces CI time from 3+ minutes to 6-7 seconds per job - Covers minimum (0.9), stable (0.10), and latest (0.11) versions - Uses actual release tags for better reliability
- Include stable and nightly versions now that they're cached - Provides comprehensive coverage: v0.9.5, v0.10.4, v0.11.3, stable, nightly - Tests against latest stable and cutting-edge development versions - Performance should be good now due to caching
- Pin stylua to specific version v2.1.0 instead of 'latest' - Improve documentation clarity for otter.nvim installation step - Enhance health check to verify actual parser installation vs just configuration - Add test for otter.nvim activation in Arizona buffers - Fix Makefile dependency paths to match test expectations - All referenced repositories verified to exist and be functional
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.