]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
turn off Cobertura; only cover dns dir
authorBob Halley <halley@play-bow.org>
Wed, 1 Jul 2020 14:47:22 +0000 (07:47 -0700)
committerBob Halley <halley@play-bow.org>
Wed, 1 Jul 2020 14:47:22 +0000 (07:47 -0700)
azure-pipelines.yml

index 034fc46634f2b714ac65094ebb42d619b83be504..0f79715a10b445a9dc123f8b312522fceeae90a3 100644 (file)
@@ -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