$ErrorActionPreference = 'Stop'
Push-Location (Split-Path -Parent $PSScriptRoot)
try {
dotnet run --project XFEEDToolBox.Test -c Release -- --no-parallel --artifacts artifacts/tests
if ($LASTEXITCODE -ne 0) { throw 'Tests failed.' }
} finally { Pop-Location }
$ErrorActionPreference = 'Stop'
Push-Location (Split-Path -Parent $PSScriptRoot)
try {
dotnet run --project XFEEDToolBox.Test -c Release -- --no-parallel --artifacts artifacts/tests
if ($LASTEXITCODE -ne 0) { throw 'Tests failed.' }
} finally { Pop-Location }