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:
2
.github/workflows/lib-tests.yml
vendored
2
.github/workflows/lib-tests.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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; };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user