Fixed test build
Include both .NET 6 and .NET 7 versions of the tests
This commit is contained in:
parent
840654524e
commit
7f6ab8e411
@ -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
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user