diff --git a/azure-pipelines.yml b/azure-pipelines.yml index be1bd8e5f3..70e12ee794 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,6 +19,9 @@ stages: jobs: - job: displayName: "Python3" + variables: + DIFF_COVER_CHECK_THRESHOLD: 0 + DIFF_COVER_DISABLE: 'false' pool: vmImage: ubuntu-20.04 @@ -91,14 +94,6 @@ stages: python3 setup.py test displayName: 'Test Python 3' - - script: | - sudo pip3 install diff-cover - target_branch=$(System.PullRequest.TargetBranch) - compare_branch=origin/${target_branch#refs/heads/} - diff-cover coverage.xml --compare-branch=$compare_branch - condition: eq(variables['Build.Reason'], 'PullRequest') - displayName: "Diff coverage" - - task: PublishTestResults@2 inputs: testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml' diff --git a/config/utils.py b/config/utils.py index 3cfcc37b43..8f826199a9 100644 --- a/config/utils.py +++ b/config/utils.py @@ -4,3 +4,8 @@ # Global logger instance log = logger.Logger(SYSLOG_IDENTIFIER) + +log = logger.Logger(SYSLOG_IDENTIFIER) + +def not_covered(): + print('not covered')