From 186f5d05d97bb07826a022f366828466cb3b753a Mon Sep 17 00:00:00 2001 From: Christian Klutz Date: Tue, 8 Oct 2024 18:32:10 +0200 Subject: [PATCH] Fix test-docker-linux.ps1 --- test/test-docker-linux.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test-docker-linux.ps1 b/test/test-docker-linux.ps1 index 937a233..8e49189 100644 --- a/test/test-docker-linux.ps1 +++ b/test/test-docker-linux.ps1 @@ -1,7 +1,7 @@ +# -e VSTEST_HOST_DEBUG=1 ` docker run ` --rm --name LockCheck.Tests ` - -e VSTEST_HOST_DEBUG=1 ` - -v $PWD:/mnt/lc ` + -v ${PWD}\..:/mnt/lc ` -w /mnt/lc ` - mcr.microsoft.com/dotnet/sdk:9.0 ` - "dotnet build && dotnet test LockCheck.Tests\LockCheck.Tests.csproj" \ No newline at end of file + mcr.microsoft.com/dotnet/sdk:8.0 ` + bash -c '/usr/share/dotnet/dotnet test -c Release -f net8.0 test/LockCheck.Tests/LockCheck.Tests.csproj && /usr/share/dotnet/dotnet test -c Debug -f net8.0 test/LockCheck.Tests/LockCheck.Tests.csproj' \ No newline at end of file