Add check for lib tests
Without this, a big part of the lib tests aren't being done, which previously lead to e.g. https://github.com/NixOS/nixpkgs/pull/76861 And this will also be useful for checked maintainers in https://github.com/NixOS/nixpkgs/pull/82461
This commit is contained in:
parent
ea4b7f8aab
commit
9066b702d0
|
@ -425,6 +425,17 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
|
||||||
],
|
],
|
||||||
self.nix.clone(),
|
self.nix.clone(),
|
||||||
),
|
),
|
||||||
|
EvalChecker::new(
|
||||||
|
"lib-tests",
|
||||||
|
nix::Operation::Build,
|
||||||
|
vec![
|
||||||
|
String::from("--arg"),
|
||||||
|
String::from("pkgs"),
|
||||||
|
String::from("import ./. {}"),
|
||||||
|
String::from("./lib/tests/release.nix"),
|
||||||
|
],
|
||||||
|
self.nix.clone(),
|
||||||
|
),
|
||||||
EvalChecker::new(
|
EvalChecker::new(
|
||||||
"nixos",
|
"nixos",
|
||||||
nix::Operation::Instantiate,
|
nix::Operation::Instantiate,
|
||||||
|
|
Loading…
Reference in a new issue