From: Bob Halley Date: Wed, 1 Jul 2020 14:47:22 +0000 (-0700) Subject: turn off Cobertura; only cover dns dir X-Git-Tag: v2.0.0rc2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ddbf198626a97a195d20a0a70b1eb0cfd7d2fd;p=thirdparty%2Fdnspython.git turn off Cobertura; only cover dns dir --- 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