ci/lib-tests: init

This allows running the lib-tests locally in exactly the same way that
they are run in CI:

  nix-build ci -A lib-tests
This commit is contained in:
Wolfgang Walther
2025-05-05 19:26:47 +02:00
parent e90894103a
commit 7097614efd
2 changed files with 4 additions and 1 deletions

View File

@@ -28,4 +28,4 @@ jobs:
- name: Building Nixpkgs lib-tests - name: Building Nixpkgs lib-tests
run: | run: |
nix-build --arg pkgs "(import ./ci/. {}).pkgs" ./lib/tests/release.nix nix-build ci -A lib-tests

View File

@@ -70,4 +70,7 @@ in
requestReviews = pkgs.callPackage ./request-reviews { }; requestReviews = pkgs.callPackage ./request-reviews { };
codeownersValidator = pkgs.callPackage ./codeowners-validator { }; codeownersValidator = pkgs.callPackage ./codeowners-validator { };
eval = pkgs.callPackage ./eval { }; eval = pkgs.callPackage ./eval { };
# CI jobs
lib-tests = import ../lib/tests/release.nix { inherit pkgs; };
} }