Skip to content

Commit

Permalink
Disable CC in build to make it much faster (pester#1751)
Browse files Browse the repository at this point in the history
* Disable CC in build to make it much faster
  • Loading branch information
nohwnd authored Oct 31, 2020
1 parent 2ebcd20 commit 3c1b601
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ stages:
codeCoverageTool: 'JaCoCo'
summaryFileLocation: 'coverage.xml'
pathToSources: 'src/'
failIfCoverageEmpty: true
failIfCoverageEmpty: false
condition: succeededOrFailed()
- task: PublishTestResults@2
inputs:
Expand Down Expand Up @@ -125,7 +125,7 @@ stages:
codeCoverageTool: 'JaCoCo'
summaryFileLocation: 'coverage.xml'
pathToSources: 'src/'
failIfCoverageEmpty: true
failIfCoverageEmpty: false
condition: succeededOrFailed()
- task: PublishTestResults@2
inputs:
Expand Down
2 changes: 1 addition & 1 deletion test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ $configuration.Filter.ExcludeTag = 'VersionChecks', 'StyleRules', 'Help'
if ($CI) {
$configuration.Run.Exit = $true

$configuration.CodeCoverage.Enabled = $true
$configuration.CodeCoverage.Enabled = $false
$configuration.CodeCoverage.Path = "$PSScriptRoot/src/*"

$configuration.TestResult.Enabled = $true
Expand Down

0 comments on commit 3c1b601

Please sign in to comment.