mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
tests: Implement a way to test nixvim (#199)
The tests can be executed using `nix flake check`, they check that modules can be built, and they execute in neovim without any errors. This commit only implements tests for tokyonight-nvim upstream defaults
This commit is contained in:
parent
92867386c7
commit
abc2d19a06
4 changed files with 94 additions and 0 deletions
|
@ -62,6 +62,10 @@
|
|||
};
|
||||
extractRustAnalyzerPkg = pkgs.callPackage extractRustAnalyzer {};
|
||||
in {
|
||||
checks = import ./tests/checks.nix {
|
||||
inherit pkgs;
|
||||
makeNixvim = self.legacyPackages."${system}".makeNixvim;
|
||||
};
|
||||
packages = {
|
||||
docs = pkgs.callPackage (import ./docs.nix) {
|
||||
modules = nixvimModules;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue