diff --git a/.github/actions/run-dotnet-tests/run-unix.sh b/.github/actions/run-dotnet-tests/run-unix.sh index 86ed1c2..45a4854 100755 --- a/.github/actions/run-dotnet-tests/run-unix.sh +++ b/.github/actions/run-dotnet-tests/run-unix.sh @@ -31,6 +31,6 @@ for tfm in "${TFMS[@]}"; do echo "๐Ÿงช $tfm ..." dotnet test --project "$PROJECT_PATH" -c "$CONFIGURATION" -f "$tfm" --no-build \ - --logger "trx;LogFileName=testResults-$tfm.trx" \ + --report-trx --report-trx-filename "testResults-$tfm.trx" \ --results-directory "$RESULTS_DIR" done diff --git a/.github/actions/run-dotnet-tests/run-win.ps1 b/.github/actions/run-dotnet-tests/run-win.ps1 index 6b4f57b..fe036bb 100644 --- a/.github/actions/run-dotnet-tests/run-win.ps1 +++ b/.github/actions/run-dotnet-tests/run-win.ps1 @@ -30,6 +30,6 @@ Write-Host "๐Ÿ“‹ Target frameworks: $($tfms -join ', ')" foreach ($tfm in $tfms) { Write-Host "๐Ÿงช $tfm ..." dotnet test --project $ProjectPath -c $Configuration -f $tfm --no-build ` - --logger "trx;LogFileName=testResults-$tfm.trx" ` + --report-trx --report-trx-filename "testResults-$tfm.trx" ` --results-directory $ResultsDir }