File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ param(
1212)
1313
1414$netFxRegex = ' ^net\d+'
15+ $solution = Join-Path $PSScriptRoot " ImageSharp.Drawing.CI.slnf"
1516
1617if ($codecov -eq ' true' ) {
1718
1819 # Allow toggling of profile to workaround any potential JIT errors caused by code injection.
19- dotnet clean - c $codecovProfile
20- dotnet test -- collect " XPlat Code Coverage" -- settings .\tests\coverlet.runsettings - c $codecovProfile -f $targetFramework / p:CodeCov= true
20+ dotnet clean $solution - c $codecovProfile
21+ dotnet test $solution -- collect " XPlat Code Coverage" -- settings .\tests\coverlet.runsettings - c $codecovProfile -f $targetFramework / p:CodeCov= true
2122}
2223elseif ($platform -eq ' -x86' -and $targetFramework -match $netFxRegex ) {
2324
@@ -33,5 +34,5 @@ elseif ($platform -eq '-x86' -and $targetFramework -match $netFxRegex) {
3334}
3435else {
3536
36- dotnet test -- no- build - c Release -f $targetFramework
37+ dotnet test $solution -- no- build - c Release -f $targetFramework
3738}
You can’t perform that action at this time.
0 commit comments