Skip to content

Commit

Permalink
Update coverage threshold to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 22, 2020
1 parent 842a2f0 commit 9b3a6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Javinizer.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Add-BuildTask Test {
Assert-Build($numberFails -eq 0) ('Failed "{0}" unit tests.' -f $numberFails)

# Ensure our builds fail until if below a minimum defined code test coverage threshold
$coverageThreshold = 50
$coverageThreshold = 0

if ($testResults.CodeCoverage.NumberOfCommandsExecuted -ne 0) {
$coveragePercent = '{0:N2}' -f ($testResults.CodeCoverage.NumberOfCommandsExecuted / $testResults.CodeCoverage.NumberOfCommandsAnalyzed * 100)
Expand Down

0 comments on commit 9b3a6a1

Please sign in to comment.