Skip to content

Commit 94c43e2

Browse files
committed
run end-to-end tests on Windows
1 parent 8f05e34 commit 94c43e2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build/Build.Windows.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ function Execute-Tests($version)
2929
{
3030
& dotnet test ./test/SeqCli.Tests/SeqCli.Tests.csproj -c Release --framework "$framework" /p:Configuration=Release /p:Platform=x64 /p:VersionPrefix=$version
3131
if($LASTEXITCODE -ne 0) { throw "Build failed" }
32+
33+
cd ./test/SeqCli.EndToEnd/
34+
docker pull datalust/seq:latest
35+
& dotnet run -f $framework -- --docker-server
36+
if ($LASTEXITCODE -ne 0)
37+
{
38+
cd ../..
39+
exit 1
40+
}
41+
cd ../..
3242
}
3343

3444
function Create-ArtifactDir

0 commit comments

Comments
 (0)