diff --git a/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 b/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 index d1e50d7fb..8194e5c6b 100644 --- a/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 +++ b/.github/actions/test-dotnet/Invoke-SolutionTests.ps1 @@ -32,7 +32,7 @@ $tests = dotnet sln list | Select-String -NotMatch "Lombiq.Tests.UI.csproj" | Select-String -NotMatch "Lombiq.Tests.csproj" | Where-Object { - $result = dotnet test --no-build --configuration Release --list-tests --verbosity $Verbosity $_ 2>&1 | Out-String -Width 9999 + $result = dotnet test --no-build --list-tests --verbosity $Verbosity $_ 2>&1 | Out-String -Width 9999 -not [string]::IsNullOrEmpty($result) -and $result.Contains("The following Tests are available") }