-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Run passthru.tests on hydra #136026
Copy link
Copy link
Open
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: testingTooling for automated testing of packages and modulesTooling for automated testing of packages and modules
Metadata
Metadata
Assignees
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: testingTooling for automated testing of packages and modulesTooling for automated testing of packages and modules
Fields
Give feedbackNo fields configured for issues without a type.
Run passthru.tests on hydra, so we can spot failures there and make the fetchgit tests a channel blocker.
This adds approximately 400 derivations for
x86_64-linuxand presumably slightly smaller amounts for othersystems. The tests are usually sanity checks written by us, so they are generally quick. Their outputs are virtually empty.This could work like
packageTestsin #136022 but with special handling ofsystemsPossible solutions:
a. copy the relevant meta stuff while constructing
pkgs.packageTests. AddrecurseIntoAttrs.b. use the same traversal but apply it to all of
release.nixinstead of usingrecurseIntoAttrs.The latter seems more elegant, as it reuses existing hydra-adjacent logic.
Notify maintainers
@edolstra @grahamc
Maintainer information: