fix test not beeing exposed
This commit is contained in:
parent
1f129416c7
commit
e2cf3c1601
@ -113,7 +113,7 @@ python3.pkgs.buildPythonPackage {
|
||||
propagatedBuildInputs = dependencies;
|
||||
|
||||
# also re-expose dependencies so we test them in CI
|
||||
passthru.tests = (lib.mapAttrs' (n: lib.nameValuePair "package-${n}") runtimeDependenciesAsSet) // {
|
||||
passthru.tests = (lib.mapAttrs' (n: lib.nameValuePair "clan-dep-${n}") runtimeDependenciesAsSet) // {
|
||||
clan-pytest = runCommand "clan-pytest" { nativeBuildInputs = [ checkPython ] ++ pytestDependencies; } ''
|
||||
cp -r ${source} ./src
|
||||
chmod +w -R ./src
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, inputs, ... }:
|
||||
{ inputs, ... }:
|
||||
{
|
||||
perSystem = { self', pkgs, ... }: {
|
||||
devShells.clan-cli = pkgs.callPackage ./shell.nix {
|
||||
@ -18,7 +18,7 @@
|
||||
## End optional dependencies
|
||||
};
|
||||
|
||||
checks = lib.mkDefault self'.packages.clan-cli.tests;
|
||||
checks = self'.packages.clan-cli.tests;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user