52dfbeccb1
- Migrate tests to python-based runner for newer nixpkgs. - Adaptations for newer nginx module used in tests - Increase memory size for tests
20 lines
472 B
Nix
20 lines
472 B
Nix
{ pkgs ? import ../pkgs.nix, nixosTestIsPerl ? false }:
|
|
let
|
|
inherit (pkgs) nixosTest recurseIntoAttrs arion;
|
|
in
|
|
|
|
recurseIntoAttrs {
|
|
|
|
test = if nixosTestIsPerl then nixosTest ./arion-test-perl else nixosTest ./arion-test;
|
|
|
|
testBuild = arion.build {
|
|
|
|
# To be more accurately, you can do
|
|
# pkgs = import ../examples/minimal/arion-pkgs.nix;
|
|
# but this is quite efficient:
|
|
inherit pkgs;
|
|
|
|
modules = [ ../examples/minimal/arion-compose.nix ];
|
|
};
|
|
|
|
}
|