1
0
mirror of synced 2024-12-23 17:53:07 +01:00

Fixed test build

Include both .NET 6 and .NET 7 versions of the tests
This commit is contained in:
Mark van Renswoude 2022-11-23 09:28:40 +01:00
parent 840654524e
commit 7f6ab8e411
2 changed files with 3 additions and 5 deletions

View File

@ -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
}

View File

@ -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