mcp test
Some checks failed
MCP Tests / mcp-tests (push) Failing after 16s

This commit is contained in:
Danilo Reyes
2026-02-08 14:54:30 -06:00
parent ae1f68b105
commit 81318b3fb1
2 changed files with 15 additions and 1 deletions

View File

@@ -21,4 +21,4 @@ jobs:
uses: actions/checkout@v4
- name: Run MCP lint/format/tests via nix-shell
run: ./scripts/mcp-server/run-tests.sh
run: nix run .#mcp-tests

View File

@@ -26,11 +26,25 @@
exec ${mcpPython}/bin/python -m mcp_server.server
'';
};
mcpTests = pkgs.writeShellApplication {
name = "mcp-tests";
runtimeInputs = with pkgs.python3Packages; [
black
click
mypy
pytest
ruff
];
text = ''
exec bash ${inputs.self}/scripts/mcp-server/run-tests.sh "$@"
'';
};
in
{
packages = (inputs.jawz-scripts.packages.${system} or { }) // {
emacs-vm = inputs.self.nixosConfigurations.emacs.config.system.build.vm;
vps-linode = inputs.self.nixosConfigurations.vps.config.system.build.images.linode;
mcp-tests = mcpTests;
nixos-mcp = nixosMcp;
nixos-mcp-server = mcpServerPkg;
};