Skip to content

Commit

Permalink
Add check for lib tests
Browse files Browse the repository at this point in the history
Without this, a big part of the lib tests aren't being done, which
previously lead to e.g. NixOS/nixpkgs#76861
And this will also be useful for checked maintainers in NixOS/nixpkgs#82461
  • Loading branch information
infinisil committed Mar 15, 2020
1 parent ea4b7f8 commit 9066b70
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ofborg/src/tasks/eval/nixpkgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,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,
Expand Down

0 comments on commit 9066b70

Please sign in to comment.