tests: move git and files tests to directories
This commit is contained in:
parent
5c9ec0d8e9
commit
bcfc52cb85
|
@ -17,13 +17,6 @@ import nmt {
|
||||||
testedAttrPath = [ "home" "activationPackage" ];
|
testedAttrPath = [ "home" "activationPackage" ];
|
||||||
tests = {
|
tests = {
|
||||||
browserpass = ./modules/programs/browserpass.nix;
|
browserpass = ./modules/programs/browserpass.nix;
|
||||||
files-executable = ./modules/files/executable.nix;
|
|
||||||
files-hidden-source = ./modules/files/hidden-source.nix;
|
|
||||||
files-source-with-spaces = ./modules/files/source-with-spaces.nix;
|
|
||||||
files-text = ./modules/files/text.nix;
|
|
||||||
git-with-email = ./modules/programs/git-with-email.nix;
|
|
||||||
git-with-most-options = ./modules/programs/git.nix;
|
|
||||||
git-with-str-extra-config = ./modules/programs/git-with-str-extra-config.nix;
|
|
||||||
mbsync = ./modules/programs/mbsync.nix;
|
mbsync = ./modules/programs/mbsync.nix;
|
||||||
texlive-minimal = ./modules/programs/texlive-minimal.nix;
|
texlive-minimal = ./modules/programs/texlive-minimal.nix;
|
||||||
xresources = ./modules/xresources.nix;
|
xresources = ./modules/xresources.nix;
|
||||||
|
@ -41,10 +34,12 @@ import nmt {
|
||||||
// import ./modules/services/sxhkd
|
// import ./modules/services/sxhkd
|
||||||
// import ./modules/systemd
|
// import ./modules/systemd
|
||||||
)
|
)
|
||||||
|
// import ./modules/files
|
||||||
// import ./modules/home-environment
|
// import ./modules/home-environment
|
||||||
// import ./modules/misc/fontconfig
|
// import ./modules/misc/fontconfig
|
||||||
// import ./modules/programs/alacritty
|
// import ./modules/programs/alacritty
|
||||||
// import ./modules/programs/bash
|
// import ./modules/programs/bash
|
||||||
|
// import ./modules/programs/git
|
||||||
// import ./modules/programs/gpg
|
// import ./modules/programs/gpg
|
||||||
// import ./modules/programs/newsboat
|
// import ./modules/programs/newsboat
|
||||||
// import ./modules/programs/readline
|
// import ./modules/programs/readline
|
||||||
|
|
6
tests/modules/files/default.nix
Normal file
6
tests/modules/files/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
files-executable = ./executable.nix;
|
||||||
|
files-hidden-source = ./hidden-source.nix;
|
||||||
|
files-source-with-spaces = ./source-with-spaces.nix;
|
||||||
|
files-text = ./text.nix;
|
||||||
|
}
|
5
tests/modules/programs/git/default.nix
Normal file
5
tests/modules/programs/git/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
git-with-email = ./git-with-email.nix;
|
||||||
|
git-with-most-options = ./git.nix;
|
||||||
|
git-with-str-extra-config = ./git-with-str-extra-config.nix;
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../accounts/email-test-accounts.nix ];
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
programs.git = {
|
programs.git = {
|
Loading…
Reference in a new issue