1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-08 02:38:11 +09:00
nixpkgs/lib/tests
Wolfgang Walther a7f4e0f9ae
lib/tests: avoid full rebuild when only maintainers change
The vast majority of CI jobs to build the lib tests are caused by
changes in the maintainer list. In this case, we currently run the full
test-suite which takes 3-4 minutes. By moving the maintainers and teams
tests out of the test-with-nix file, we save almost all of that.
Building only those two tests on a change is almost instant. This only
works, because we previously enabled cachix for the workflow.

Note, that these tests are not actually run with both nix versions, even
though they were listed in the "test with specific nix version" file.
That's because we only differ in the nix version run *inside* the
sandbox, but not doing the outer build.

Since this file seems to be re-used by NixOS/nix' CI, this is
technically a small loss in coverage for that repo, but nixpkgs CI
considerations outweigh that. But because of this, I left the other
non-nix-version-specific tests in that file.
2025-06-02 09:12:19 +02:00
..
modules lib.options.mkPackageOption: use lib.showAttrPath (#398066) 2025-04-21 10:51:01 +02:00
packages-from-directory lib.packagesFromDirectoryRecursive: add tests for nested scopes 2025-03-26 12:11:43 +01:00
.editorconfig .editorconfig: move subfolder config into separate .editorconfig files 2025-05-07 20:01:35 +02:00
check-eval.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
fetchers.nix
filesystem.sh
maintainer-module.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
maintainers.nix lib/tests: avoid full rebuild when only maintainers change 2025-06-02 09:12:19 +02:00
misc.nix lib/strings: init replaceString 2025-05-28 00:20:56 +02:00
modules.sh lib.options.mkPackageOption: use lib.showAttrPath 2025-04-13 20:54:13 +01:00
network.sh
nix-for-tests.nix nixVersions.{nix_2_28,nix_2_26}: switch simplified meson build 2025-04-08 12:29:11 -04:00
release.nix lib/tests: avoid full rebuild when only maintainers change 2025-06-02 09:12:19 +02:00
sources.sh
systems.nix treewide: drop support for 32‐bit Darwin 2025-04-02 21:20:44 +01:00
teams.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
test-to-plist-escaped-expected.plist lib.generators.toPlist: escape XML syntax in strings & keys 2024-12-23 12:29:20 +01:00
test-to-plist-unescaped-expected.plist lib.generators.toPlist: escape XML syntax in strings & keys 2024-12-23 12:29:20 +01:00
test-with-nix.nix lib/tests: avoid full rebuild when only maintainers change 2025-06-02 09:12:19 +02:00