mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-04 01:55:11 +02:00
Added test for template and fixed check export for lib (#361)
This commit is contained in:
parent
ecaf80b7fd
commit
3600698aba
8 changed files with 40 additions and 9 deletions
|
@ -4,7 +4,8 @@
|
|||
pkgs,
|
||||
}: let
|
||||
fetchTests = import ./fetch-tests.nix;
|
||||
mkTestDerivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
|
||||
test-derivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
|
||||
mkTestDerivation = test-derivation.mkTestDerivation;
|
||||
|
||||
# List of files containing configurations
|
||||
testFiles = fetchTests {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
mkTestDerivationFromNvim = {
|
||||
name,
|
||||
nvim,
|
||||
dontRun,
|
||||
dontRun ? false,
|
||||
...
|
||||
}:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
|
@ -55,5 +55,6 @@
|
|||
inherit name nvim;
|
||||
inherit (testAttributes) dontRun;
|
||||
};
|
||||
in
|
||||
mkTestDerivation
|
||||
in {
|
||||
inherit mkTestDerivation mkTestDerivationFromNvim;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue