summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorBob Halley <halley@play-bow.org>2020-07-01 07:47:22 -0700
committerBob Halley <halley@play-bow.org>2020-07-01 07:47:22 -0700
commit16ddbf198626a97a195d20a0a70b1eb0cfd7d2fd (patch)
tree99bc7a61d9ecc6b993b01db5399556b6754bd98c /azure-pipelines.yml
parent7461bbefbee32d77c470816cd020a082d07a13b4 (diff)
downloaddnspython-16ddbf198626a97a195d20a0a70b1eb0cfd7d2fd.tar.gz
turn off Cobertura; only cover dns dir
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 034fc46..0f79715 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