From a1fdf62eaa5bb51033d5c5ebb75d332b2f133ecb Mon Sep 17 00:00:00 2001 From: Jakub Raczek Date: Thu, 28 Nov 2024 10:01:57 +0100 Subject: [PATCH] Update ExecutingTestsOnDockerGithubActions.ps1 --- ExecutingTestsOnDockerGithubActions.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ExecutingTestsOnDockerGithubActions.ps1 b/ExecutingTestsOnDockerGithubActions.ps1 index 605254e7..b592b5a5 100644 --- a/ExecutingTestsOnDockerGithubActions.ps1 +++ b/ExecutingTestsOnDockerGithubActions.ps1 @@ -2,10 +2,10 @@ docker info docker ps -a docker exec ocaramba_selenium bash -c "ls ; sed -i '/Documentation/,+5 d' ./Ocaramba.sln ; dotnet build ./Ocaramba.sln" -docker exec ocaramba_selenium bash -c 'pwsh ./scripts/set_AppConfig_for_tests.ps1 \"./Ocaramba.Tests.NUnit/bin/Debug/net8.0\" \"appsettings.Linux.json\" \"appSettings\" \"browser|PathToChromeDriverDirectory\" \"Chrome|/chromedriver\" -logValues -json' -docker exec ocaramba_selenium bash -c 'dotnet vstest ./Ocaramba.Tests.NUnit/bin/Debug/net8.0/Ocaramba.Tests.NUnit.dll /TestCaseFilter:\"(TestCategory!=NotImplementedInCoreOrUploadDownload)\" /Parallel --logger:\"trx;LogFileName=Ocaramba.Tests.Docker.xml\"' +docker exec ocaramba_selenium bash -c 'pwsh ./Ocaramba/scripts/set_AppConfig_for_tests.ps1 \"./Ocaramba/Ocaramba.Tests.NUnit/bin/Debug/net8.0\" \"appsettings.Linux.json\" \"appSettings\" \"browser|PathToChromeDriverDirectory\" \"Chrome|/chromedriver\" -logValues -json' +docker exec ocaramba_selenium bash -c 'dotnet vstest ./Ocaramba/Ocaramba.Tests.NUnit/bin/Debug/net8.0/Ocaramba.Tests.NUnit.dll /TestCaseFilter:\"(TestCategory!=NotImplementedInCoreOrUploadDownload)\" /Parallel --logger:\"trx;LogFileName=Ocaramba.Tests.Docker.xml\"' -docker cp ocaramba_selenium:/Ocaramba/TestResults/Ocaramba.Tests.Docker.xml . +docker cp ocaramba_selenium:/Ocaramba/Ocaramba/TestResults/Ocaramba.Tests.Docker.xml . docker rm ocaramba_selenium --force @@ -15,4 +15,4 @@ if($lastexitcode -ne 0) echo 'lastexitcode' $lastexitcode } -exit 0 \ No newline at end of file +exit 0