fix test not beeing exposed
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user