Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.45 KB

CONTRIBUTING.md

File metadata and controls

57 lines (43 loc) · 1.45 KB

Contributing

Linting

You'll need to install stylua and selene.

$ make lint

Testing

This uses mini.test

To init the dependencies run

$ make prepare

To run all tests just execute

$ make test

To run specific test:

$ make test dir=base file=test_search.lua

To run test at specific line:

$ make test dir=base file=test_search.lua line=83

To update screenshots:

$ make test dir=base file=test_search.lua update_screenshots=true

Github actions

An Action will run all the tests and lints on Pull Request to main. Tests will be run using a stable version of Neovim.