From 16ddbf198626a97a195d20a0a70b1eb0cfd7d2fd Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 1 Jul 2020 07:47:22 -0700 Subject: [PATCH] turn off Cobertura; only cover dns dir --- azure-pipelines.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 034fc466..0f79715a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,7 +31,7 @@ jobs: - script: | pip install pytest pytest-cov pytest-azurepipelines - pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html + pytest --junitxml=junit/test-results.xml --cov=dns --cov-report=xml --cov-report=html displayName: 'pytest' - task: PublishTestResults@2 @@ -40,11 +40,10 @@ jobs: testResultsFiles: '**/test-*.xml' testRunTitle: 'Publish test results for Python $(python.version)' - - task: PublishCodeCoverageResults@1 - inputs: - codeCoverageTool: Cobertura - summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' -# reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov' +# - task: PublishCodeCoverageResults@1 +# inputs: +# codeCoverageTool: Cobertura +# summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' - script: | codecov -f coverage.xml -- 2.47.3