diff --git a/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 b/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 index 4e2f0680e..6119b89d3 100644 --- a/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 +++ b/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 @@ -206,7 +206,7 @@ foreach ($test in $tests) '--logger', '''console;verbosity=detailed''' '--verbosity', $Verbosity $BlameHangTimeout ? ('--blame-hang-timeout', $BlameHangTimeout, '--blame-hang-dump-type', 'full') : '' - $Filter ? '--filter', $Filter : '' + $Filter ? '--filter', "'$Filter'" : '' $EnableDiagnosticMode ? '--diag DiagnosticLogs/dotnet-test.log' : '' $test )