A Zinit extension (i.e., an
annex) that attempts to run tests via the make test
target
after installing or updating a plugin.
zinit light zdharma-continuum/zinit-annex-test
To install, run:
zinit light zdharma-continuum/zinit-annex-test
Once installed, add the test
ice to a Zinit plugin invocation:
zinit for load make test junegunn/fzf
zinit ice make test
zinit load junegunn/fzf
Before installing or updating the plugin, run:
zstyle :zinit:annex:test quiet 0
A full example:
zstyle :zinit:annex:test quiet 0
zinit ice make test
zinit load junegunn/fzf
To skip tests for a single plugin, add notest
ice:
zinit for load make notest junegunn/fzf
zinit ice make notest
zinit load junegunn/fzf