mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
tests/plugins: refactor (#235)
This commit is contained in:
parent
89f54be73a
commit
db5061b4db
38 changed files with 485 additions and 744 deletions
16
tests/default.nix
Normal file
16
tests/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
makeNixvim,
|
||||
lib,
|
||||
pkgs,
|
||||
}: let
|
||||
fetchTests = import ./fetch-tests.nix;
|
||||
mkTestDerivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
|
||||
|
||||
# List of files containing configurations
|
||||
testFiles = fetchTests {
|
||||
inherit lib pkgs;
|
||||
root = ./test-sources;
|
||||
};
|
||||
in
|
||||
# We attempt to build & execute all configurations
|
||||
builtins.mapAttrs mkTestDerivation testFiles
|
Loading…
Add table
Add a link
Reference in a new issue