Merge pull request 'add test for remote ssh commands' (#115) from Mic92-mic92 into main

This commit is contained in:
clan-bot
2023-08-10 09:05:48 +00:00
8 changed files with 356 additions and 4 deletions

View File

@@ -16,6 +16,8 @@
, pytest
, pytest-cov
, pytest-subprocess
, openssh
, stdenv
, wheel
}:
let
@@ -26,6 +28,8 @@ let
pytest-cov
pytest-subprocess
mypy
openssh
stdenv.cc
];
checkPython = python3.withPackages (_ps: dependencies ++ testDependencies);
@@ -59,7 +63,7 @@ python3.pkgs.buildPythonPackage {
'';
clan-pytest = runCommand "clan-tests"
{
nativeBuildInputs = [ age zerotierone bubblewrap sops nix ];
nativeBuildInputs = [ age zerotierone bubblewrap sops nix openssh stdenv.cc ];
} ''
cp -r ${source} ./src
chmod +w -R ./src