Skip to content

Commit

Permalink
Update ExecutingTestsOnLinuxAzure.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja authored Nov 27, 2024
1 parent 628296d commit 531970d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ExecutingTestsOnLinuxAzure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ echo '********************************************net8.0 tests******************
$Env:ASPNETCORE_ENVIRONMENT="Linux"

echo $Env:ASPNETCORE_ENVIRONMENT
.\scripts\set_AppConfig_for_tests.ps1 ".\Ocaramba.Tests.NUnit\bin\Release\net8.0" "appsettings.Linux.json" "appSettings" "browser|PathToChromeDriverDirectory" "Chrome|$($env:CHROMEWEBDRIVER)" -logValues -json
.\scripts\set_AppConfig_for_tests.ps1 ".\Ocaramba.Tests.NUnit\bin\Release\net8.0" "appsettings.Linux.json" "appSettings" "browser|PathToChromeDriverDirectory" "Chrome|/usr/local/bin" -logValues -json

dotnet vstest ./Ocaramba.Tests.NUnit/bin/Release/net8.0/Ocaramba.Tests.NUnit.dll `
/TestCaseFilter:"(TestCategory!=NotImplementedInCoreOrUploadDownload)" /Parallel `
--logger:"trx;LogFileName=Ocaramba.Tests.netcoreapp.xml"
dotnet vstest ./Ocaramba.Tests.NUnit/bin/Release/net8.0/Ocaramba.Tests.NUnit.dll /TestCaseFilter:"(TestCategory!=NotImplementedInCoreOrUploadDownload)" /Parallel --logger:"trx;LogFileName=Ocaramba.Tests.netcoreapp.xml"

if($lastexitcode -ne 0)
{
echo 'lastexitcode' $lastexitcode
}

exit 0
exit 0

0 comments on commit 531970d

Please sign in to comment.