allow coverage xml to fail, leading to yellow build
Setting `continueOnError` for coverage publishing in Mitche's CI.yml stuff.
@@ -154,14 +154,17 @@ jobs:
- script: |
coverage xml
displayName: 'Generate Coverage XML'
+ continueOnError: true
- script: |
codecov -t $(codecov-python-repository-token)
displayName: 'Publish Code Cov'
+ continueOnError: true
condition: ne(variables['codecov-python-repository-token'], '')
- task: PublishCodeCoverageResults@1
displayName: 'Publish Code Coverage to DevOps'
+ continueOnError: true
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(Build.SourcesDirectory)/coverage.xml'
