Add ci build workflow (#31)

* Add ci build workflow

* Using cake build

* Update readme
This commit is contained in:
Toni Wenzel 2025-03-06 20:49:59 +01:00 • committed by GitHub
commit 80daa5b73d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,14 +1,14 @@
using McpDotNet.Client;
using System.Text.Json;
using McpDotNet.Client;
using McpDotNet.Configuration;
using McpDotNet.Protocol.Messages;
using McpDotNet.Protocol.Transport;
using McpDotNet.Protocol.Types;
using McpDotNet.Tests.Utils;
using Microsoft.Extensions.Logging;
using System.Text.Json;
namespace McpDotNet.Tests;
[Trait("Execution", "Manual")]
public class SseIntegrationTests
{
[Fact]
@ -19,7 +19,7 @@ public class SseIntegrationTests
builder.AddConsole()
.SetMinimumLevel(LogLevel.Debug));
await using TestSseServer server = new(logger:loggerFactory.CreateLogger<TestSseServer>());
await using TestSseServer server = new(logger: loggerFactory.CreateLogger<TestSseServer>());
await server.StartAsync();
@ -111,7 +111,7 @@ public class SseIntegrationTests
ClientInfo = new()
{
Name = "IntegrationTestClient",
Version = "1.0.0"
Version = "1.0.0"
},
Capabilities = new()
{
@ -228,7 +228,7 @@ public class SseIntegrationTests
await using TestSseServer server = new(logger: loggerFactory.CreateLogger<TestSseServer>());
await server.StartAsync();
var defaultOptions = new McpClientOptions
{
ClientInfo = new() { Name = "IntegrationTestClient", Version = "1.0.0" }