-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Add installed tests #34987
Copy link
Copy link
Open
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md3.skill: good-first-bugThis seems like it's fixable by a non-expertThis seems like it's fixable by a non-expert5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: GNOMEGNOME desktop environment and its underlying platformGNOME desktop environment and its underlying platform6.topic: freedesktopInteroperability and shared base technology for X, Wayland and othersInteroperability and shared base technology for X, Wayland and others6.topic: testingTooling for automated testing of packages and modulesTooling for automated testing of packages and modules9.needs: module (new)This needs a module to be createdThis needs a module to be created
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md3.skill: good-first-bugThis seems like it's fixable by a non-expertThis seems like it's fixable by a non-expert5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: GNOMEGNOME desktop environment and its underlying platformGNOME desktop environment and its underlying platform6.topic: freedesktopInteroperability and shared base technology for X, Wayland and othersInteroperability and shared base technology for X, Wayland and others6.topic: testingTooling for automated testing of packages and modulesTooling for automated testing of packages and modules9.needs: module (new)This needs a module to be createdThis needs a module to be created
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
To Do
We want to test that packages work on NixOS but writing tests manually is a chore so not many applications are covered. Fortunately, many packages (especially from GNOME or Freedesktop) ship so called installed tests that already do what we want.
I already implemented them for gjs and fwupd and as you can see it is actually quite simple. We can even factor it out into something like:
Here is incomplete list of software that provides installed tests:
Finally, we should connect the tests to their respective packages, for example using #27604