Skip to content

Commit

Permalink
wip: separated testresults location for tfms
Browse files Browse the repository at this point in the history
  • Loading branch information
ckadluba committed Nov 19, 2024
1 parent 59ef4c5 commit d4c81c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ try

# Run tests for different targets in sequence to avoid database tests
# to fail because of concurrency problems
foreach ($tfm in @("net8", "net462", "net47"))
foreach ($tfm in @( "net462", "net472", "net8.0" ))
{
echo "build: Testing project in $testProjectPath for target $tfm"
& dotnet test -c Release --collect "XPlat Code Coverage" --framework "$tfm"
& dotnet test -c Release --collect "XPlat Code Coverage" --framework "$tfm" --results-directory "./TestResults/$tfm"
if ($LASTEXITCODE -ne 0)
{
exit 2
Expand Down

0 comments on commit d4c81c8

Please sign in to comment.