mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
CONTRIBUTING: update doc about test.runNvim
This commit is contained in:
parent
bc5fc9a896
commit
a20fbbc4b9
1 changed files with 2 additions and 2 deletions
|
@ -100,9 +100,9 @@ The tests are located in the [tests/test-sources](tests/test-sources) directory,
|
|||
|
||||
Tests can either be a simple attribute set, or a function taking `{pkgs}` as an input. The keys of the set are configuration names, and the values are a nixvim configuration.
|
||||
|
||||
You can specify the special `tests` attribute in the configuration that will not be interpreted by nixvim, but only the test runner. The following keys are available:
|
||||
You can specify the special `test` attribute in the configuration that will not be interpreted by nixvim, but only the test runner. The following keys are available:
|
||||
|
||||
- `tests.dontRun`: avoid launching this test, simply build the configuration.
|
||||
- `test.runNvim`: Set to `false` to avoid launching nvim with this configuration and simply build the configuration.
|
||||
|
||||
The tests are then runnable with `nix flake check --all-systems`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue