Merge pull request #438 from Infinisil/lib-tests

Add check for lib tests
This commit is contained in:
Graham Christensen 2020-04-01 20:40:14 -04:00 committed by GitHub
commit 9d8c4d9da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -439,6 +439,17 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
],
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(
"nixos",
nix::Operation::Instantiate,