From 80f0e03f10854894e592ca334c1d5e355319477d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 11 Feb 2022 11:35:21 -0800 Subject: [PATCH] release-python.nix: add test job sets --- pkgs/top-level/release-python.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/release-python.nix b/pkgs/top-level/release-python.nix index af492cc4b987..d90be7f3bb4c 100644 --- a/pkgs/top-level/release-python.nix +++ b/pkgs/top-level/release-python.nix @@ -26,4 +26,22 @@ let []); in if res.success then res.value else [] ); -in (mapTestOn (packagePython pkgs)) + + jobs = { + lib-tests = import ../../lib/tests/release.nix { inherit pkgs; }; + pkgs-lib-tests = import ../pkgs-lib/tests { inherit pkgs; }; + + tested = pkgs.releaseTools.aggregate { + name = "python-tested"; + meta.description = "Release-critical packages from the python package sets"; + constituents = [ + jobs.remarshal.x86_64-linux # Used in pkgs.formats helper + jobs.python39Packages.colorama.x86_64-linux # Used in nixos test-driver + jobs.python39Packages.ptpython.x86_64-linux # Used in nixos test-driver + jobs.python39Packages.requests.x86_64-linux # Almost ubiquous package + jobs.python39Packages.sphinx.x86_64-linux # Document creation for many packages + ]; + }; + + } // (mapTestOn (packagePython pkgs)); +in jobs