mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +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
|
||||
(rec {
|
||||
|
||||
metaModule = {
|
||||
_file = "${__curPos.file}##metaModule";
|
||||
meta = {
|
||||
# Infra issue: virtualization on darwin doesn't seem to work yet.
|
||||
hydraPlatforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
doRunTest =
|
||||
arg:
|
||||
((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
|
||||
imports = [
|
||||
arg
|
||||
readOnlyPkgs
|
||||
metaModule
|
||||
];
|
||||
}).config.result;
|
||||
findTests =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue