1
0
mirror of synced 2024-11-23 09:23:51 +00: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 using System;
#if DEBUG
using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Docker.DotNet; using Docker.DotNet;
using Docker.DotNet.Models; using Docker.DotNet.Models;
@ -79,4 +77,3 @@ namespace Tapeti.Tests.Client
} }
} }
} }
#endif

View File

@ -36,6 +36,7 @@ test:
assemblies: assemblies:
only: only:
- Tapeti.Tests\bin\Release\net6.0\Tapeti.Tests.dll - Tapeti.Tests\bin\Release\net6.0\Tapeti.Tests.dll
- Tapeti.Tests\bin\Release\net7.0\Tapeti.Tests.dll
categories: categories:
except: except:
- Requires Docker - Requires Docker