mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
tests/nixos/fetch-git: Apply suggestions
This commit is contained in:
parent
0f95330fde
commit
78074bdea4
2 changed files with 1 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
||||||
testCases =
|
testCases =
|
||||||
map
|
map
|
||||||
(testCaseName: {...}: {
|
(testCaseName: {...}: {
|
||||||
imports = ["${./test-cases}/${testCaseName}"];
|
imports = [ (./test-cases + "/${testCaseName}") ];
|
||||||
# ensures tests are named like their directories they are defined in
|
# ensures tests are named like their directories they are defined in
|
||||||
name = testCaseName;
|
name = testCaseName;
|
||||||
})
|
})
|
||||||
|
|
|
@ -39,9 +39,6 @@ in
|
||||||
The name of the test case.
|
The name of the test case.
|
||||||
|
|
||||||
A repository with that name will be set up on the gitea server and locally.
|
A repository with that name will be set up on the gitea server and locally.
|
||||||
|
|
||||||
This name can also be used to execute only a single test case via:
|
|
||||||
`nix build .#hydraJobs.fetch-git.{test-case-name}`
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
options.description = mkOption {
|
options.description = mkOption {
|
||||||
|
|
Loading…
Add table
Reference in a new issue