From 7f6ab8e4114239312080dc3fe67184b86abe004a Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 23 Nov 2022 09:28:40 +0100 Subject: [PATCH] Fixed test build Include both .NET 6 and .NET 7 versions of the tests --- Tapeti.Tests/Client/RabbitMQFixture.cs | 7 ++----- appveyor.yml | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Tapeti.Tests/Client/RabbitMQFixture.cs b/Tapeti.Tests/Client/RabbitMQFixture.cs index 240bac0..4d1c66d 100644 --- a/Tapeti.Tests/Client/RabbitMQFixture.cs +++ b/Tapeti.Tests/Client/RabbitMQFixture.cs @@ -1,6 +1,4 @@ -// Do not include in the Release build for AppVeyor due to the Docker requirement -#if DEBUG -using System; +using System; using System.Threading.Tasks; using Docker.DotNet; using Docker.DotNet.Models; @@ -78,5 +76,4 @@ namespace Tapeti.Tests.Client await testcontainers.DisposeAsync(); } } -} -#endif \ No newline at end of file +} \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 61a51ea..e86424b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,6 +36,7 @@ test: assemblies: only: - Tapeti.Tests\bin\Release\net6.0\Tapeti.Tests.dll + - Tapeti.Tests\bin\Release\net7.0\Tapeti.Tests.dll categories: except: - Requires Docker