File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -59,17 +59,15 @@ if ($SigningCertThumbprint) {
5959}
6060
6161# Test
62- if ($env: CODECOV_TOKEN ) {
63- dotnet tool install Codecov.Tool -- tool- path tools
64- $codecov = ' tools\codecov'
65- }
66-
6762Remove-Item - Recurse - Force $testResultsDir - ErrorAction Ignore
6863
6964dotnet test -- no- build -- configuration $configuration -- logger trx -- results- directory $testResultsDir / p:AltCover= true / p:AltCoverXmlReport= " $testResultsDir \coverage.xml" / p:AltCoverAssemblyExcludeFilter= AmbientTasks.Tests / p:AltCoverVerbosity= Warning / bl:" $logsDir \test.binlog"
7065if ($LastExitCode ) { $testsFailed = true }
7166
7267if ($env: CODECOV_TOKEN ) {
68+ dotnet tool install Codecov.Tool -- tool- path tools
69+ $codecov = ' tools\codecov'
70+
7371 foreach ($coverageFile in Get-ChildItem " $testResultsDir \coverage.*.xml" ) {
7472 $tfm = $coverageFile.Name.Substring (
7573 ' coverage.' .Length,
You can’t perform that action at this time.
0 commit comments