mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
nixos/all-tests: Rely on general hydraPlatforms override
It is documented to be about `hydra.nixos.org`, so this is actually acceptable. If your own hydra can do it, you may set `meta.hydraPlatforms` in your tests if you want that. (e.g. set it in a common module that's imported in all your tests)
This commit is contained in:
parent
ee83bfa879
commit
a8dedd3d97
1 changed files with 0 additions and 10 deletions
|
@ -90,22 +90,12 @@ let
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
(rec {
|
(rec {
|
||||||
|
|
||||||
metaModule = {
|
|
||||||
_file = "${__curPos.file}##metaModule";
|
|
||||||
meta = {
|
|
||||||
# Infra issue: virtualization on darwin doesn't seem to work yet.
|
|
||||||
hydraPlatforms = platforms.linux;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
doRunTest =
|
doRunTest =
|
||||||
arg:
|
arg:
|
||||||
((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
|
((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
|
||||||
imports = [
|
imports = [
|
||||||
arg
|
arg
|
||||||
readOnlyPkgs
|
readOnlyPkgs
|
||||||
metaModule
|
|
||||||
];
|
];
|
||||||
}).config.result;
|
}).config.result;
|
||||||
findTests =
|
findTests =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue