Skip to content

Add comprehensive testing and CI setup#1

Merged
williamthome merged 10 commits intomainfrom
chore/ci
Aug 29, 2025
Merged

Add comprehensive testing and CI setup#1
williamthome merged 10 commits intomainfrom
chore/ci

Conversation

@williamthome
Copy link
Member

@williamthome williamthome commented Aug 29, 2025

  • Add plenary.nvim test suite with 9 test cases covering all plugin functionality
  • Add GitHub Actions CI testing Neovim v0.9, v0.10, v.0.11, 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

- 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
@williamthome williamthome merged commit e0df34d into main Aug 29, 2025
6 checks passed
@williamthome williamthome deleted the chore/ci branch August 29, 2025 21:10
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