Skip to content

Commit

Permalink
Update ExecutingTestsOnDockerGithubActions.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja authored Nov 28, 2024
1 parent 25e8a06 commit a1fdf62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ExecutingTestsOnDockerGithubActions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -15,4 +15,4 @@ if($lastexitcode -ne 0)
echo 'lastexitcode' $lastexitcode
}

exit 0
exit 0

0 comments on commit a1fdf62

Please sign in to comment.